mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
up
This commit is contained in:
@@ -69,7 +69,7 @@ static void PowerIrqHandler(void* arg)
|
||||
|
||||
void PowerInit(void)
|
||||
{
|
||||
ota_log("user_power_init");
|
||||
power_log("PowerInit");
|
||||
MicoGpioInitialize(POWER, INPUT_PULL_UP);
|
||||
MicoGpioEnableIRQ(POWER, IRQ_TRIGGER_FALLING_EDGE, PowerIrqHandler, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user