mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-30 01:48:35 -04:00
Added support for LoRa32 v2.1 boards
This commit is contained in:
parent
01babb84f1
commit
044cb33948
5 changed files with 83 additions and 23 deletions
|
@ -250,6 +250,7 @@ bool startRadio() {
|
|||
|
||||
// Flash an info pattern to indicate
|
||||
// that the radio is now on
|
||||
kiss_indicate_radiostate();
|
||||
led_indicate_info(3);
|
||||
return true;
|
||||
}
|
||||
|
@ -258,12 +259,15 @@ bool startRadio() {
|
|||
// Flash a warning pattern to indicate
|
||||
// that the radio was locked, and thus
|
||||
// not started
|
||||
radio_online = false;
|
||||
kiss_indicate_radiostate();
|
||||
led_indicate_warning(3);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
// If radio is already on, we silently
|
||||
// ignore the request.
|
||||
kiss_indicate_radiostate();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue