Seeed-Studio / Wio_Tracker_1110_Examples

arduino examples for Wio_tracker board
Other
2 stars 4 forks source link

Compilation warnings: Seeed_Arduino_LIS3DHTR #16

Closed matsujirushi closed 1 week ago

matsujirushi commented 1 year ago
| Wio_Tracker_1110_Examples | grove_accelerometer_lis3dhtr.ino    | warnings  | 12.66s |
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp: In instantiation of 'void LIS3DHTR<T>::setInterrupt() [with T = SPIClass]':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp:5[14](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:15):16:   required from here
/home/runner/.arduino[15](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:16)/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp:482:13: warning: variable 'data' set but not used [-Wunused-but-set-variable]
  482 |     uint8_t data = 0;
      |             ^~~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp: In instantiation of 'void LIS3DHTR<T>::setInterrupt() [with T = TwoWire]':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp:515:[16](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:17):   required from here
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_LIS3DHTR/src/LIS3DHTR.cpp:482:13: warning: variable 'data' set but not used [-Wunused-but-set-variable]