mirror of https://github.com/RT-Thread/rt-thread
[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:
parent
01e4caf60c
commit
44dbb4e3c4
|
@ -22,8 +22,8 @@
|
|||
#include <drv_log.h>
|
||||
|
||||
#define MAX_PERIOD 65535
|
||||
#define MIN_PERIOD 3
|
||||
#define MIN_PULSE 2
|
||||
#define MIN_PERIOD 1
|
||||
#define MIN_PULSE 1
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue