Skip to content

Commit 446f04b

Browse files
committed
Add some review changes
1 parent fd7aff5 commit 446f04b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/lit-icd-app/esp32/main/IcdUatButton.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "freertos/queue.h"
2525
#include "freertos/task.h"
2626
#include "hal/gpio_types.h"
27-
#include "soc/gpio_num.h"
2827
#include <cstdint>
2928

3029
#define ESP_INTR_FLAG_DEFAULT 0

examples/lit-icd-app/esp32/main/main.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18+
#include "app/icd/server/ICDNotifier.h"
1819
#include "esp_log.h"
1920
#include "esp_netif.h"
2021
#include "esp_system.h"
@@ -84,7 +85,7 @@ static AppDeviceCallbacks EchoCallbacks;
8485
static void UatButtonHandler(UatButton * button)
8586
{
8687
DeviceLayer::PlatformMgr().ScheduleWork([](intptr_t) {
87-
Server::GetInstance().GetICDManager().UpdateOperationState(app::ICDManager::OperationalState::ActiveMode);
88+
app::ICDNotifier::GetInstance().NotifyNetworkActivityNotification();
8889
});
8990
}
9091

0 commit comments

Comments
 (0)