File tree 1 file changed +9
-1
lines changed
examples/energy-management-app/esp32/main
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -236,8 +236,16 @@ extern "C" void app_main()
236
236
chip::rpc::Init ();
237
237
#endif
238
238
239
+ uint8_t features = static_cast <uint8_t >(chip::app::Clusters::DeviceEnergyManagement::sFeatureMap .Raw ());
240
+
239
241
ESP_LOGI (TAG, " ==================================================" );
240
- ESP_LOGI (TAG, " chip-esp32-energy-management-example starting" );
242
+ #if defined(CONFIG_ENABLE_EXAMPLE_EVSE_DEVICE)
243
+ ESP_LOGI (TAG, " chip-esp32-energy-management-example evse starting. featureMap 0x%02x" , features);
244
+ #elif defined(CONFIG_ENABLE_EXAMPLE_WATER_HEATER_DEVICE)
245
+ ESP_LOGI (TAG, " chip-esp32-energy-management-example water-heater starting. featureMap 0x%02x" , features);
246
+ #else
247
+ ESP_LOGI (TAG, " chip-esp32-energy-management-example starting. featureMap 0x%02x" , features);
248
+ #endif
241
249
ESP_LOGI (TAG, " ==================================================" );
242
250
243
251
#if CONFIG_ENABLE_CHIP_SHELL
You can’t perform that action at this time.
0 commit comments