temporarily implement light gate input latching

This commit is contained in:
2025-07-08 17:59:53 +02:00
parent 22e24b38b5
commit 866d0642fb
2 changed files with 16 additions and 1 deletions

View File

@ -136,6 +136,10 @@ static can_pkt_t CAN_SIGNAL_MAP[NUM_TX_PKT] = {
}
};
static uint8_t DIO_LATCHING[NUM_DIO_PINS] = {
1, 1, 0, 0, 0, 0,
};
#define CAN_PWM_DC_ID 0x0DA // UNUSED
#define CAN_PWM_CONF_ID 0x0DB // UNUSED
#define CAN_PWM_BASE_ID CAN_PWM_DC_ID
@ -183,6 +187,10 @@ static can_pkt_t CAN_SIGNAL_MAP[NUM_TX_PKT] = {
}
};
static uint8_t DIO_LATCHING[NUM_DIO_PINS] = {
0, 0, 0, 0, 0, 0,
};
#define CAN_PWM_DC_ID 0x0DC
#define CAN_PWM_CONF_ID 0x0DD
#define CAN_PWM_BASE_ID CAN_PWM_DC_ID