Skip to content

Commit

Permalink
Fixed the condition making the code always pick water heater (#37129)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs authored Jan 21, 2025
1 parent f4c9198 commit 65c861d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/energy-management-app/silabs/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ AppTask AppTask::sAppTask;

EndpointId GetEnergyDeviceEndpointId()
{
#if defined(SL_CONFIG_ENABLE_EXAMPLE_WATER_HEATER_DEVICE)
#if SL_CONFIG_ENABLE_EXAMPLE_WATER_HEATER_DEVICE
return kWaterHeaterEndpoint;
#else
return kEvseEndpoint;
Expand Down

0 comments on commit 65c861d

Please sign in to comment.