mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
Fix compiler warnings (#4112)
This commit is contained in:
parent
21d47adb8d
commit
32702e2750
@ -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:
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user