Skip to content

Commit

Permalink
fix: gpio库的PWR_KEY和CHG_DET的API注释写错了
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Mar 7, 2025
1 parent db7f04f commit 3710fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luat/modules/luat_lib_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,10 +720,10 @@ static const rotable_Reg_t reg_gpio[] =
{ "WAKEUP4", ROREG_INT(HAL_WAKEUP_4)},
//@const WAKEUP5 number WAKEUP_PAD
{ "WAKEUP5", ROREG_INT(HAL_WAKEUP_5)},
//@const charge_detect_pad number WAKEUP_PAD
//@const CHG_DET number WAKEUP_PAD
{ "CHG_DET", ROREG_INT(HAL_WAKEUP_CHARGE)},
#endif
//@const POWERKEY number WAKEUP_PAD
//@const PWR_KEY number WAKEUP_PAD
{ "PWR_KEY", ROREG_INT(HAL_WAKEUP_PWRKEY)},
#endif
{ NULL, ROREG_INT(0) }
Expand Down

0 comments on commit 3710fcd

Please sign in to comment.