[stm32] Modify MIN_PERIOD and MIN_PULSE to Allow PWM Duty Cycle of 0%

Co-authored-by: wdfk-prog <1425075683@qq.com>
This commit is contained in:
wdfk-prog 2025-07-10 15:42:47 +08:00 committed by Rbb666
parent 01e4caf60c
commit 44dbb4e3c4
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@
#include <drv_log.h> #include <drv_log.h>
#define MAX_PERIOD 65535 #define MAX_PERIOD 65535
#define MIN_PERIOD 3 #define MIN_PERIOD 1
#define MIN_PULSE 2 #define MIN_PULSE 1
enum enum
{ {