lorawan.cpp: code sanitization
This commit is contained in:
parent
0cea410e37
commit
a1976368f8
@ -253,23 +253,13 @@ void onEvent(ev_t ev) {
|
|||||||
strcpy_P(buff, PSTR("TX START"));
|
strcpy_P(buff, PSTR("TX START"));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/*
|
case EV_SCAN_FOUND:
|
||||||
|| This event is defined but not used in the code. No
|
strcpy_P(buff, PSTR("SCAN_FOUND"));
|
||||||
|| point in wasting codespace on it.
|
break;
|
||||||
||
|
|
||||||
|| case EV_SCAN_FOUND:
|
|
||||||
|| Serial.println(F("EV_SCAN_FOUND"));
|
|
||||||
|| break;
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
case EV_RFU1:
|
||||||
|| This event is defined but not used in the code. No
|
strcpy_P(buff, PSTR("RFU1"));
|
||||||
|| point in wasting codespace on it.
|
break;
|
||||||
||
|
|
||||||
|| case EV_RFU1:
|
|
||||||
|| Serial.println(F("EV_RFU1"));
|
|
||||||
|| break;
|
|
||||||
*/
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
sprintf_P(buff, PSTR("UNKNOWN EVENT %d"), ev);
|
sprintf_P(buff, PSTR("UNKNOWN EVENT %d"), ev);
|
||||||
|
Loading…
Reference in New Issue
Block a user