Skip to content

Commit df2a4a3

Browse files
committed
Fix read digital inputs function on firmware
1 parent 8459325 commit df2a4a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Firmware/Behavior/app_funcs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ void app_read_REG_PORT_DIS(void)
217217
app_regs.REG_PORT_DIS = (read_POKE0_IR) ? B_DI0 : 0;
218218
app_regs.REG_PORT_DIS |= (read_POKE1_IR) ? B_DI1 : 0;
219219
app_regs.REG_PORT_DIS |= (read_POKE2_IR) ? B_DI2 : 0;
220+
app_regs.REG_PORT_DIS |= (read_DI3) ? B_DI3 : 0;
220221
}
221222
bool app_write_REG_PORT_DIS(void *a) { return false; }
222223

0 commit comments

Comments
 (0)