Closed guilyx closed 5 years ago
Looks good, to move forward please fix unittest test/test_si7021.cpp as well:
test/test_si7021.cpp
- I2C_queue_receive_data(string("\x66\x9c\x00", 3)); - I2C_queue_receive_data(string("\x0f\xff\x00", 3)); - I2C_queue_receive_data(string("\x66\x9c\x00", 3)); + I2C_queue_receive_data(string("\x66\x9c", 2)); + I2C_queue_receive_data(string("\x0f\xff", 2)); + I2C_queue_receive_data(string("\x66\x9c", 2)); - I2C_queue_receive_data(string("\x6c\xb6\x00", 3)); + I2C_queue_receive_data(string("\x6c\xb6", 2));
Done ! :+1:
Merged, thanks!
Looks good, to move forward please fix unittest
test/test_si7021.cpp
as well: