diff options
Diffstat (limited to 'src/master_posix.c')
| -rw-r--r-- | src/master_posix.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/master_posix.c b/src/master_posix.c index 74cb38a..ac5ff55 100644 --- a/src/master_posix.c +++ b/src/master_posix.c @@ -55,10 +55,14 @@ #define BUS_DEVICE_LIMIT 2 -hs_func_t hs_jumptable[NUM_STATES] = { +hs_func_t hs_jumptable[NUM_HS_STATES] = { HS_STATE_TABLE(EXPAND_AS_JUMPTABLE) }; +/* df_func_t df_jumptable[NUM_HS_STATES] = { */ +/* DF_STATE_TABLE(EXPAND_AS_JUMPTABLE) */ +/* }; */ + device_info_t *device_info[BUS_DEVICE_LIMIT] = {NULL}; subscription_info_t* subs_info[BUS_DEVICE_LIMIT]; uint32_t allocated[4]={0}; @@ -219,7 +223,7 @@ static void *routing_func(void *pvArgs) dataflow_status_t device_dataflow(uint8_t i2c_addr, uint32_t SOR_code, volatile uint8_t rbuf_idx) { - uint8_t dev_idx = GET_IDX_FROM_ADDR(i2c_addr); + uint8_t dev_idx = GET_IDX_FROM_ADDR(i2c_addr); dataflow_status_t df_status = DF_IDLE; uint8_t CTS_buf[2] = {0x2, 0xFF}; |
