You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Si115X.cpp:15:26: warning: comparison is always false due to limited range of data type [-Wtype-limits]
Si115X.cpp:124:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
| Wio_Tracker_1110_Examples | grove_light_si1151.ino | warnings | 5.92s |
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Grove_Sunlight_Sensor/Si115X.cpp: In member function 'void Si115X::config_channel(uint8_t, uint8_t*)':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Grove_Sunlight_Sensor/Si115X.cpp:15:26: warning: comparison is always false due to limited range of data type [-Wtype-limits]
15 | if(len != 4 || index < 0 || index > 5)
| ~~~~~~^~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Grove_Sunlight_Sensor/Si115X.cpp: In member function 'int Si115X::get_int_from_bytes(uint8_t*, size_t)':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Grove_Sunlight_Sensor/Si115X.cpp:124:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
124 | for(int i = 0; i < len; i++){
| ~~^~~~~
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: