Skip to content

Commit

Permalink
fix: prvGPIO_PullFast缺返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Apr 25, 2024
1 parent 27de2f4 commit 0ef8d90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions interface/src/luat_pwm_ec7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "clock.h"
#include "timer.h"
#include "pad.h"
#include "ic.h"
#include "common_api.h"
#include "driver_gpio.h"
#include "luat_debug.h"
Expand Down Expand Up @@ -422,6 +423,7 @@ __USER_FUNC_IN_RAM__ uint32_t prvGPIO_PullFast(uint32_t Pin, uint8_t IsPull, uin

PAD->PCR[Pad] = uConfig.Value;
CLOCK_clockDisable(PCLK_PAD);
return 0;
}


Expand Down

0 comments on commit 0ef8d90

Please sign in to comment.