#define OP_READY 0 /* no i2c op running */
#define OP_POLL 1 /* a user command is running */
#define OP_CMD 2 /* a polling (req / ans) is running */
#define OP_READY 0 /* no i2c op running */
#define OP_POLL 1 /* a user command is running */
#define OP_CMD 2 /* a polling (req / ans) is running */
printf_P(PSTR(" i2c_state=%d\r\n"), i2c_state);
printf_P(PSTR(" i2c_errors=%d\r\n"), i2c_errors);
printf_P(PSTR(" running_op=%d\r\n"), running_op);
printf_P(PSTR(" i2c_state=%d\r\n"), i2c_state);
printf_P(PSTR(" i2c_errors=%d\r\n"), i2c_errors);
printf_P(PSTR(" running_op=%d\r\n"), running_op);
/* copy status in a global struct */
memcpy(&imuboard_status, ans, sizeof(imuboard_status));
/* copy status in a global struct */
memcpy(&imuboard_status, ans, sizeof(imuboard_status));