lorawan.cpp: code sanitization

This commit is contained in:
Klaus K Wilting 2018-10-22 19:42:27 +02:00
parent 0cea410e37
commit a1976368f8

View File

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