Merge branch 'master' into fix-boardConfig

This commit is contained in:
Peter Buchegger 2023-01-20 13:21:15 +01:00 committed by GitHub
commit ceb523b17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 4 deletions

19
.github/workflows/dependabot.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: PlatformIO Dependabot
on:
workflow_dispatch:
schedule:
# Runs every Saturday at 00:00
- cron: '0 0 * * 6'
jobs:
dependabot:
runs-on: ubuntu-latest
name: run PlatformIO Dependabot
steps:
- name: Checkout
uses: actions/checkout@v3
- name: run PlatformIO Dependabot
uses: peterus/platformio_dependabot@v1.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -8,15 +8,15 @@ lib_ldf_mode = deep+
monitor_speed = 115200
monitor_raw = yes
lib_deps =
bblanchon/ArduinoJson @ 6.17.0
lewisxhe/AXP202X_Library @ 1.1.2
bblanchon/ArduinoJson @ 6.20.0
lewisxhe/AXP202X_Library @ 1.1.3
peterus/APRS-Decoder-Lib @ 0.0.6
peterus/esp-logger @ 1.0.0
peterus/ESP-FTP-Server-Lib @ 0.9.5
knolleary/PubSubClient@^2.8
mikalhart/TinyGPSPlus @ 1.0.2
mikalhart/TinyGPSPlus @ 1.0.3
shaggydog/OneButton @ 1.5.0
jgromes/RadioLib @ 5.1.2
jgromes/RadioLib @ 5.6.0
check_tool = cppcheck
check_flags =
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK --force lib -ilib/TimeLib -ilib/LoRa -ilib/NTPClient

View file

@ -100,6 +100,10 @@ bool RadiolibTask::setup(System &system) {
}
}
if (config.power > 17 && config.tx_enable) {
radio->setCurrentLimit(140);
}
preambleDurationMilliSec = ((uint64_t)(preambleLength + 4) << (config.spreadingFactor + 10 /* to milli-sec */)) / config.signalBandwidth;
_stateInfo = "";