Thomas Göttgens
91be22b341
Merge branch 'master' into ESP32C3-RISC
2023-03-21 09:31:30 +01:00
GUVWAF
8c68d888c8
SX126x: Try next Interface when chip not found ( #2363 )
...
* If chip was not found, return false for init()
* SX1268: Only overwrite frequency when out of bounds
Happens when region is still UNSET
2023-03-18 07:23:37 -05:00
Manuel
1f99d4756a
Fix: Sporadig crashes and reboot ( #2366 )
...
* Fix: Sporadig crashes with reboot
* Revert "Fix: Sporadig crashes with reboot"
This reverts commit 59b65749f5
.
* Fix: Sporadig crashes and reboot
2023-03-17 19:53:29 -05:00
Andre K
7bbfa48b5d
fix channel_num log ( #2361 )
...
* fix channel_num variable
* fix channel_num log instead
2023-03-17 13:36:10 -05:00
Manuel
b398f31b64
Fix heap leak mentioned in #2358 ( #2359 )
...
* Fix heap leak mentioned in #2358
* Additional fix for #2359
2023-03-14 16:50:32 -05:00
Thomas Göttgens
3c2e615650
Merge branch 'master' into ESP32C3-RISC
2023-03-12 20:22:38 +01:00
Thomas Göttgens
6d202158ba
add (and fix) CPU Shutdown Flags
2023-03-12 20:20:55 +01:00
Thomas Göttgens
c288974b67
don't adjust brightness on long press any more
2023-03-12 20:20:55 +01:00
Thomas Göttgens
9b1d461567
add NO_SCREEN shim
2023-03-12 20:20:55 +01:00
Thomas Göttgens
210e3e09d5
enable deep sleep behaviour for ESP32
2023-03-12 20:20:55 +01:00
Thomas Göttgens
0d001423c8
woops
2023-03-12 20:20:55 +01:00
Thomas Göttgens
a83d5ada86
- implement shutdown (deep sleep forever) on ESP32
...
- Clean up shutdown and delayed shutdown code conditionals.
- clean up inputbroker includes
2023-03-12 20:20:55 +01:00
Thomas Göttgens
4573db4665
Merge branch 'master' into ESP32C3-RISC
2023-03-12 20:19:43 +01:00
GUVWAF
6d443d2c67
SX126x/8x: Also use PREAMBLE_DETECTED IRQ flag for actively receiving check ( #2349 )
...
* Use startReceive() instead of startReceiveDutyCycleAuto()
* Add preamble detected IRQ
* Escape from 'freeze' state when packet should have been received
* Use RADIOLIB_GODMODE for access to clearIrqStatus
* SX126x: Better handling of false preamble detections
* SX128x: Add preamble IRQ and false detection handling to active receiving check
* Remove unnecessary function declaration
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-11 12:59:29 -06:00
Ben Meadors
dc2ca9c32b
Report special battery_level of > 100 instead of zero to indicate USB ( #2341 )
...
* Report special battery_level of > 100 instead of zero to indicate USB
* Protos
* Helps if you click save
* Wrong method
* Fmt
2023-03-10 19:50:08 -06:00
Ben Meadors
fddc49273e
Reboot seconds bump
2023-03-09 16:08:18 -06:00
A. Rager
e6d69e2b67
Refactor i2cScan.h To Handle 2 Bus ( #2337 )
...
* Break i2cScan out into a set of classes for scanning i2c
* refactor i2cscan addresses to be structs that allow addressing by port + address
* build whoopsies
* trunk fmt
* trunk fmt
* lost some build fixes from the merge
* more cleaning for build safety, RTC behavior
2023-03-08 21:13:46 -06:00
Thomas Göttgens
9150c2e568
fix stuff i somehow inadvertently broke.
2023-03-08 17:12:25 +01:00
Thomas Göttgens
944d5066e9
update lib dependency
2023-03-08 17:12:25 +01:00
Thomas Göttgens
a538a96c90
fmt
2023-03-08 17:12:25 +01:00
Thomas Göttgens
267db05d69
- G1 Explorer use correct display controller
...
- adhere UA font in modules
2023-03-08 17:12:25 +01:00
Ben Meadors
321e41a3aa
Update protos
2023-03-06 16:17:09 -06:00
GUVWAF
3ca1e62b1f
SX126x/8x: Add HEADER_VALID IRQ flag for actively receiving check ( #2333 )
...
* Add HEADER_VALID IRQ flag for SX126x/8x to detect actively receiving
Needs new RadioLib commit
* Update comments
* Use latest RadioLib release
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-06 15:53:59 -06:00
Thomas Göttgens
5044169e8d
fixes #2330
2023-03-06 14:12:24 +01:00
Thomas Göttgens
8e197fc35b
fixes #2327
2023-03-06 12:50:05 +01:00
Thomas Göttgens
4355f51a90
fmt
2023-03-04 17:25:55 +01:00
Thomas Göttgens
ecd67f0a85
disable the frequency switcher for the C3 CPU...
2023-03-04 17:25:55 +01:00
Thomas Göttgens
0940c6462b
Leaving this here in case someone ever needs int :-)
2023-03-04 17:25:55 +01:00
GUVWAF
eb4ab26e1f
Check if packet is decrypted before searching node in DB ( #2320 )
...
* Check whether TraceRouteModule exists
In case in the future we don't enable it
* Check whether packet is decrypted before searching node in DB
2023-03-02 13:22:14 -06:00
A. Rager
214feb1f21
Add Hardware: BetaFPV 900 Nano TX ( #2249 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-01 08:36:25 -06:00
Ben Meadors
d17aafa91a
Trying to debug transient "disconnects" in iOS ( #2312 )
...
* Add back lines from original Adafruit example sketch
* Stop advertising debug message
* Yank it
2023-03-01 08:35:52 -06:00
code8buster
2fe5eae183
Fix overlapping of GPS message on screen carousel #1 ( #2314 )
...
* Fix overlapping of GPS message on screen carousel #1
* Any reason we shouldn't display this on a RAK w/ E-ink or similar non-PMU equipped boards?
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-01 08:34:07 -06:00
Manuel
9008c75517
Fixed: Tlora-t3s3-v1 SX1262 firmware reboots continuously ( #2308 ) ( #2315 )
2023-02-28 07:45:10 -06:00
GUVWAF
408c555f0f
Add airtime of current received/transmitted packet to nextTx time of all pending retransmissions ( #2309 )
...
To avoid unnecessary retransmissions when sending them too early
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-25 19:51:38 -06:00
Ben Meadors
fbfd0f12b5
Change to 5 minutes for Garth's sanity
2023-02-24 12:49:10 -06:00
Ben Meadors
9650adb616
Set reasonable defaults for sensor role and adjust packet priority ( #2305 )
2023-02-24 11:25:50 -06:00
Thomas Göttgens
fab5e4c5cc
potential fix for Range Test Leak. Poking around in the dark.
2023-02-23 22:19:23 +01:00
Ben Meadors
46fa08dc33
Air quality specific prefs ( #2303 )
2023-02-23 13:05:24 -06:00
github-actions[bot]
05b1fc83bd
[create-pull-request] automated change ( #2300 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-02-22 16:16:38 -06:00
Thomas Göttgens
d830398fc5
Check if there's something there before we free it
2023-02-21 20:01:56 +01:00
Thomas Göttgens
2e80a4ed87
tryfix #2228 as suggested by @mverch67
2023-02-21 14:53:27 +01:00
GUVWAF
83e6cea280
RadioLib's startChannel returns LORA_DETECTED for SX126x and SX128x ( #2293 )
2023-02-20 14:11:54 -06:00
Ben Meadors
f8498ba03f
Trunk fix
2023-02-20 12:33:01 -06:00
Ben Meadors
f83adf1796
Trunk fmt
2023-02-20 10:05:11 -06:00
Krezalis
73c1c5913b
Update Screen.h ( #2285 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-20 10:03:32 -06:00
Krezalis
fd1c54fd15
Add Ukrainian symbols ( #2286 )
...
* Update Screen.cpp
* Add files via upload
* Update Screen.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-20 10:03:13 -06:00
GUVWAF
95bbcd2cb7
Use LORA_DIO1 as RadioLib GPIO for SX127x chips ( #2290 )
...
* When channel is active, first try receiving that packet
Afterwards we'll try transmitting again
* Remove setStandby in startSend
Already done in isChannelActive()
* Set LORA_DIO1 as RadioLib GPIO for SX127x
* LORA_DIO1 for Heltec v1, overlaps with GPS_TX
Set to RADIOLIB_NC for now
* If receive was not successful, startReceive doesn't trigger the interrupt
So we have to go back to transmitting anyway
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-20 07:40:44 -06:00
Ben Meadors
253d133319
Merge pull request #2287 from neilhao/master
...
Nano G1 Explorer
2023-02-18 19:06:37 -06:00
Ben Meadors
7264621149
Don't auto set to default primary channel
2023-02-18 18:32:46 -06:00
neil
b33632f21a
'nano-g1-explorer'
2023-02-18 04:49:37 +08:00