mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-24 17:33:58 +08:00
[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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user