Skip to content

Commit

Permalink
Change logging message type interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
hnykda authored Aug 25, 2024
1 parent 0e3463e commit b3187a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/samsung_ac/protocol_nasa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace esphome
#define LOG_MESSAGE(message_name, temp, source, dest) \
if (debug_log_messages) \
{ \
ESP_LOGW(TAG, "s:%s d:%s " #message_name " %f", source.c_str(), dest.c_str(), temp); \
ESP_LOGW(TAG, "s:%s d:%s " #message_name " %g", source.c_str(), dest.c_str(), static_cast<double>(temp)); \
}

uint16_t crc16(std::vector<uint8_t> &data, int startIndex, int length)
Expand Down

0 comments on commit b3187a5

Please sign in to comment.