Closed hansju-11 closed 3 years ago
uint8_t length = buf[0]; memcpy(buffer, buf + 1, length); cursor += length; // length of buffer
is never be reached.
to solve this
after this HAS_SENSORS is resolved to (HAS_SENSOR_1 || HAS_SENSOR_2 || HAS_SENSOR_3)
fixed.
if (HAS_SENSORS)
uint8_t length = buf[0]; memcpy(buffer, buf + 1, length); cursor += length; // length of buffer
endif
is never be reached.
to solve this
include "sensor.h"
after this HAS_SENSORS is resolved to (HAS_SENSOR_1 || HAS_SENSOR_2 || HAS_SENSOR_3)