mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Completely trivial changes from review of last PR
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
/* Port letters for prettier debug output */
|
||||
|
||||
static const char g_portchar[KINETIS_NPORTS] =
|
||||
@@ -83,14 +84,6 @@ static const char g_portchar[KINETIS_NPORTS] =
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
@@ -120,6 +120,7 @@ struct kinetis_pwmtimer_s
|
||||
/****************************************************************************
|
||||
* Static Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/* Register access */
|
||||
|
||||
static uint32_t pwm_getreg(struct kinetis_pwmtimer_s *priv, int offset);
|
||||
@@ -151,7 +152,10 @@ static int pwm_ioctl(FAR struct pwm_lowerhalf_s *dev,
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
/* This is the list of lower half PWM driver methods used by the upper half driver */
|
||||
|
||||
/* This is the list of lower half PWM driver methods used by the upper half
|
||||
* driver.
|
||||
*/
|
||||
|
||||
static const struct pwm_ops_s g_pwmops =
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
/* Configuration ********************************************************************/
|
||||
/* Timer devices may be used for different purposes. One special purpose is
|
||||
* to generate modulated outputs for such things as motor control. If CONFIG_KINETIS_FTMn
|
||||
|
||||
Reference in New Issue
Block a user