Fix SI1145 compile warning

Fix SI1145 compile warning (#8141)
This commit is contained in:
Theo Arends 2020-04-12 11:26:33 +02:00
parent 1b18c58cd8
commit 7651b447fb
1 changed files with 1 additions and 1 deletions

View File

@ -1778,7 +1778,7 @@ void AddLogSerial(uint32_t loglevel)
AddLogBuffer(loglevel, (uint8_t*)serial_in_buffer, serial_in_byte_counter); AddLogBuffer(loglevel, (uint8_t*)serial_in_buffer, serial_in_byte_counter);
} }
void AddLogMissed(char *sensor, uint32_t misses) void AddLogMissed(const char *sensor, uint32_t misses)
{ {
AddLog_P2(LOG_LEVEL_DEBUG, PSTR("SNS: %s missed %d"), sensor, SENSOR_MAX_MISS - misses); AddLog_P2(LOG_LEVEL_DEBUG, PSTR("SNS: %s missed %d"), sensor, SENSOR_MAX_MISS - misses);
} }