Commit 21fd5cd4 authored by Eric Duminil's avatar Eric Duminil
Browse files

Forgotten LedEffects -> led_effects

parent 2c338489
......@@ -74,7 +74,7 @@ namespace lorawan {
case EV_JOINED:
waiting_for_confirmation = false;
connected = true;
LedEffects::onBoardLEDOff();
led_effects::onBoardLEDOff();
Serial.println(F("EV_JOINED"));
{
u4_t netid = 0;
......@@ -121,12 +121,12 @@ namespace lorawan {
break;
case EV_TXCANCELED:
waiting_for_confirmation = false;
LedEffects::onBoardLEDOff();
led_effects::onBoardLEDOff();
Serial.println(F("EV_TXCANCELED"));
break;
case EV_JOIN_TXCOMPLETE:
waiting_for_confirmation = false;
LedEffects::onBoardLEDOff();
led_effects::onBoardLEDOff();
Serial.println(F("EV_JOIN_TXCOMPLETE: no JoinAccept."));
Serial.println(F("Other services may resume."));
break;
......@@ -136,7 +136,7 @@ namespace lorawan {
break;
}
if (waiting_for_confirmation) {
LedEffects::onBoardLEDOn();
led_effects::onBoardLEDOn();
Serial.println(F("LoRa - waiting for OTAA confirmation. Freezing every other service!"));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment