PS_16_DZ: cleanup

This commit is contained in:
Joel Stein 2018-11-28 00:04:06 +01:00
parent f75c4a27ad
commit 0ce7537371
1 changed files with 0 additions and 2 deletions

View File

@ -166,8 +166,6 @@ void PS16DZSerialInput(void)
char* token = strtok_r(string, ",", &end_str); char* token = strtok_r(string, ",", &end_str);
while (token != NULL) { while (token != NULL) {
char* end_token; char* end_token;
snprintf_P(log_data, sizeof(log_data), PSTR("PSZ: token = %s"), token);
AddLog(LOG_LEVEL_DEBUG);
char* token2 = strtok_r(token, ":", &end_token); char* token2 = strtok_r(token, ":", &end_token);
char* token3 = strtok_r(NULL, ":", &end_token); char* token3 = strtok_r(NULL, ":", &end_token);
if(!strncmp(token2, "\"switch\"", 8)){ if(!strncmp(token2, "\"switch\"", 8)){