Merge pull request #73 from cobraPA/upstream_add_heltec_lora_v3

Add heltec lora32 v3
This commit is contained in:
markqvist 2024-04-20 18:57:47 +02:00 committed by GitHub
commit edf6dce388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 101 additions and 5 deletions

View file

@ -1111,7 +1111,15 @@ void validate_status() {
if (device_init()) {
hw_ready = true;
} else {
hw_ready = false;
#if !HAS_BLUETOOTH && !HAS_BLE
// Without bluetooth, bt_ready and device_init_done
// are not set
// and neither is hw_ready (see device_init())
hw_ready = true;
device_init_done = true;
#else
hw_ready = false;
#endif
}
#else
hw_ready = true;