more adds

This commit is contained in:
richonguzman 2023-09-21 19:16:52 -03:00
parent e054ba6732
commit 246d083a8c
2 changed files with 3 additions and 1 deletions

View File

@ -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() {

View File

@ -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();
}