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
DpsClass.cpp:171:42: warning: 'raw_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
DpsClass.cpp:163:21: note: 'raw_val' was declared here
| Wio_Tracker_1110_Examples | grove_barometer_dps310.ino | warnings | 7.14s |
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS[31](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:32)0/src/Dps310.cpp: In member function 'virtual int16_t Dps310::readcoeffs()':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/Dps310.cpp:84:13: warning: unused variable 'ret' [-Wunused-variable]
84 | int16_t ret = readBlock(coeffBlock, buffer);
| ^~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp: In member function 'int16_t DpsClass::getSingleResult(float&)':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp:171:42: warning: 'raw_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
171 | result = calcPressure(raw_val);
| ~~~~~~~~~~~~^~~~~~~~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp: In member function 'int16_t DpsClass::measurePressureOnce(float&, uint8_t)':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp:171:42: warning: 'raw_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
171 | result = calcPressure(raw_val);
| ~~~~~~~~~~~~^~~~~~~~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp:163:21: note: 'raw_val' was declared here
163 | int[32](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:33)_t raw_val;
| ^~~~~~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp: In member function 'int16_t DpsClass::measureTempOnce(float&, uint8_t)':
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp:171:[42](https://github.com/SeeedJP/Adafruit_nRF52_Arduino_priv/actions/runs/6358400379/job/17270588570#step:6:43): warning: 'raw_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
171 | result = calcPressure(raw_val);
| ~~~~~~~~~~~~^~~~~~~~~
/home/runner/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.5/libraries/Seeed_Arduino_DPS310/src/DpsClass.cpp:163:21: note: 'raw_val' was declared here
163 | int32_t raw_val;
| ^~~~~~~
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: