Cosmetics

This commit is contained in:
3djc
2019-08-11 08:49:49 +02:00
parent 13ade094a3
commit f0060af07d
+2 -3
View File
@@ -167,11 +167,10 @@ void writeHeader()
for(uint8_t i=0; i<NUM_SWITCHES; i++) {
if (SWITCH_EXISTS(i)) {
char s[LEN_SWITCH_NAME + 2];
char s[LEN_SWITCH_NAME + 2] = {0};
char * temp;
temp = getSwitchName(s, SWSRC_FIRST_SWITCH + i * 3);
*temp++ = ',';
*temp = '\0';
*temp = ',';
f_puts(s, &g_oLogFile);
}
}