mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Merged in raiden00/nuttx_pe (pull request #822)
Improvements for STM32 PWM arch/arm/src/stm32/stm32_pwm: fix polarity and IDLE state configuration for advanced timer PWM include/dsp.h: raise error if math.h not present Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
@@ -72,6 +72,10 @@
|
||||
# define CONFIG_LIBDSP_PRECISION 0
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_LIBM) && !defined(CONFIG_ARCH_MATH_H)
|
||||
# error math.h not defined!
|
||||
#endif
|
||||
|
||||
/* Phase rotation direction */
|
||||
|
||||
#define DIR_CW (1.0f)
|
||||
|
||||
Reference in New Issue
Block a user