mirror of
https://github.com/lora-aprs/LoRa_APRS_Tracker.git
synced 2026-01-22 16:40:28 +01:00
Merge branch 'master' into platformio_dependabot/Adafruit_GFX_Library/1.11.9
This commit is contained in:
commit
9587b58822
|
|
@ -11,7 +11,7 @@ lib_deps =
|
|||
adafruit/Adafruit GFX Library @ 1.11.9
|
||||
adafruit/Adafruit SSD1306 @ 2.5.7
|
||||
bblanchon/ArduinoJson @ 6.21.3
|
||||
lewisxhe/XPowersLib @ 0.1.8
|
||||
lewisxhe/XPowersLib @ 0.2.4
|
||||
sandeepmistry/LoRa @ 0.8.0
|
||||
peterus/APRS-Decoder-Lib @ 0.0.6
|
||||
mikalhart/TinyGPSPlus @ 1.0.3
|
||||
|
|
|
|||
|
|
@ -367,6 +367,9 @@ void loop() {
|
|||
would lead to decrease of beacon rate in between 5 to 20 km/h. what
|
||||
is even below the slow speed rate.
|
||||
*/
|
||||
if (curr_speed == 0) {
|
||||
curr_speed = 1;
|
||||
}
|
||||
txInterval = min(BeaconMan.getCurrentBeaconConfig()->smart_beacon.slow_rate,
|
||||
BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_speed * BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_rate / curr_speed) *
|
||||
1000;
|
||||
|
|
|
|||
Loading…
Reference in a new issue