Skip to content

Commit

Permalink
Fix IDF build. std string needs to be converted to c_str
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed Apr 23, 2024
1 parent 8421e7b commit 0752a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/samsung_ac/samsung_ac_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace esphome
{ return x.name == name; });
if (mode == supported->end())
{
ESP_LOGW(TAG, "Unsupported alt_mode %s", name);
ESP_LOGW(TAG, "Unsupported alt_mode %s", name.c_str());
return;
}
request.alt_mode = mode->value;
Expand Down

0 comments on commit 0752a8f

Please sign in to comment.