mirror of https://github.com/ARMmbed/mbed-os.git
Bug fix in PWM APIs, not all TCC modules support upto 4 channels.
parent
59d3dffa0a
commit
698484eb47
|
|
@ -21,7 +21,7 @@
|
|||
#include "pinmap_function.h"
|
||||
|
||||
/* Compare Channel used for PWM in TCC Modules */
|
||||
#define PWMOUT_CTRL_CHANNEL 3
|
||||
#define PWMOUT_CTRL_CHANNEL 0
|
||||
|
||||
/* Prescaler values for TCC Module */
|
||||
const uint32_t tcc_prescaler[] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue