Skip to content

Commit

Permalink
[K32W0] remove unused code in LowPowerHook.cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyue518 authored and marius-alex-tache committed Jan 12, 2024
1 parent 786663f commit 007b113
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/platform/nxp/k32w/k32w0/LowPowerHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
#include "app_dual_mode_low_power.h"
#include "app_dual_mode_switch.h"
#include "k32w0-chip-mbedtls-config.h"
#include <AppTask.h> // nogncheck

#include "app_config.h"

using namespace ::chip;
using namespace ::chip::Inet;
Expand Down Expand Up @@ -107,22 +104,6 @@ uint32_t dm_switch_get15_4InitWakeUpTime(void)
return dualModeStates.threadWarmBootInitTime;
}

extern "C" bleResult_t App_PostCallbackMessage(appCallbackHandler_t handler, appCallbackParam_t param)
{
AppEvent event;
event.Type = AppEvent::kEventType_Lp;
event.Handler = handler;
event.param = param;

#if ENABLE_LOW_POWER_LOGS
K32W_LOG("App_PostCallbackMessage %d", (uint32_t) param);
#endif

GetAppTask().PostEvent(&event);

return gBleSuccess_c;
}

WEAK void dm_switch_wakeupCallBack(void)
{
BOARD_SetClockForWakeup();
Expand Down

0 comments on commit 007b113

Please sign in to comment.