bi2a-iidx: Fix incorrect init command data

Taken from a communication dump of the real IO with iidx 27,
this needs to be 0x2D in order to get a fully working setup with
BIO2 and sub IO board connected.
This commit is contained in:
icex2 2020-12-16 23:15:53 +01:00
parent ef377f40d8
commit c348a41d22

View File

@ -9,7 +9,10 @@
#include "util/log.h"
static const uint8_t _BIO2DR_BI2A_IIDX_INIT_DATA = 0x3B;
// Must be provided on init command. Actual meaning unknown right now.
// Not providing this will not initialize the IO correctly resulting
// in all inputs and outputs (over sub IO) other than 14 keys to not work.
static const uint8_t _BIO2DR_BI2A_IIDX_INIT_DATA = 0x2D;
static bool bio2drv_bi2a_iidx_init_io(uint8_t node_id)
{