mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
arch: cxd56xx: Fix compile warning in cxd56_pwm.c
This commit is contained in:
parent
663bf4d968
commit
d3ed469f00
1 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,9 @@
|
|||
#include "cxd56_clock.h"
|
||||
#include "cxd56_pwm.h"
|
||||
|
||||
#if defined(CONFIG_CXD56_PWM0) || defined(CONFIG_CXD56_PWM1) || \
|
||||
defined(CONFIG_CXD56_PWM2) || defined(CONFIG_CXD56_PWM3)
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
|
@ -525,3 +528,5 @@ struct pwm_lowerhalf_s *cxd56_pwminitialize(uint32_t channel)
|
|||
|
||||
return (struct pwm_lowerhalf_s *)pwmch;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue