kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Pi Firmware: fix switch press aborting calibration capture
Change-Id: I0c2af689e5a6afc123d916cd1e549b191af0e24dissue_1022
rodzic
5383f60c29
commit
26980d4d25
|
@ -175,6 +175,8 @@ frame:
|
|||
movge r0, #1 // Mode 7
|
||||
tst r3, #BIT_PROBE
|
||||
bne exit
|
||||
tst r3, #BIT_CALIBRATE
|
||||
bne skip_switch_test
|
||||
tst r8, #SW1_MASK // Is the sw1 button pressed (active low)
|
||||
orreq r0, #RET_SW1 // Indicate this in the result and then exit
|
||||
beq exit
|
||||
|
@ -184,6 +186,7 @@ frame:
|
|||
tst r8, #SW3_MASK // Is the sw3 button pressed (active low)
|
||||
orreq r0, #RET_SW3 // Indicate this in the result and then exit
|
||||
beq exit
|
||||
skip_switch_test:
|
||||
tst r3, #BIT_MODE7
|
||||
moveq r5, #0 // Modes 0-6
|
||||
movne r5, #1 // Mode 7
|
||||
|
|
Ładowanie…
Reference in New Issue