Fix compiler warnings (#4112)

This commit is contained in:
Ben Meadors 2024-06-15 09:46:15 -05:00 committed by GitHub
parent 21d47adb8d
commit 32702e2750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -138,6 +138,7 @@ class AccelerometerThread : public concurrency::OSThread
float heading = FusionCompassCalculateHeading(FusionConventionNed, ga, ma); float heading = FusionCompassCalculateHeading(FusionConventionNed, ga, ma);
switch (config.display.compass_orientation) { switch (config.display.compass_orientation) {
case meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_0_INVERTED:
case meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_0: case meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_0:
break; break;
case meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_90: case meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_90:

View File

@ -73,7 +73,7 @@ class GPS : private concurrency::OSThread
uint32_t rx_gpio = 0; uint32_t rx_gpio = 0;
uint32_t tx_gpio = 0; uint32_t tx_gpio = 0;
uint32_t en_gpio = 0; uint32_t en_gpio = 0;
int32_t predictedLockTime = 0; uint32_t predictedLockTime = 0;
uint32_t GPSCycles = 0; uint32_t GPSCycles = 0;
int speedSelect = 0; int speedSelect = 0;

View File

@ -16,7 +16,7 @@ lib_deps =
melopero/Melopero RV3028@^1.1.0 melopero/Melopero RV3028@^1.1.0
https://github.com/RAKWireless/RAK13800-W5100S.git#1.0.2 https://github.com/RAKWireless/RAK13800-W5100S.git#1.0.2
rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2
beegee-tokyo/RAKwireless RAK12034@^1.0.0 https://github.com/meshtastic/RAK12034-BMX160.git#4821355fb10390ba8557dc43ca29a023bcfbb9d9
debug_tool = jlink debug_tool = jlink
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
;upload_protocol = jlink ;upload_protocol = jlink