more adds
This commit is contained in:
parent
e054ba6732
commit
246d083a8c
|
|
@ -21,10 +21,12 @@ namespace LoRa_Utils {
|
|||
|
||||
void setFlag(void) {
|
||||
Serial.println("setFlag");
|
||||
#if defined(TTGO_T_Beam_V1_0_SX1268)
|
||||
if (!enableInterrupt) { // check if the interrupt is enabled
|
||||
return;
|
||||
}
|
||||
transmissionFlag = true; // we got a packet, set the flag
|
||||
#endif
|
||||
}
|
||||
|
||||
void setup() {
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ namespace MSG_Utils {
|
|||
|
||||
void ledNotification() {
|
||||
uint32_t ledTimeDelta = millis() - messageLedTime;
|
||||
if (messageLed && ledTimeDelta > 10*1000) {
|
||||
if (messageLed && ledTimeDelta > 5*1000) {
|
||||
digitalWrite(Config.notification.ledMessagePin, HIGH);
|
||||
messageLedTime = millis();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue