drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated.

This commit is contained in:
Augusto Fraga Giachero
2019-09-02 07:53:52 -06:00
committed by Gregory Nutt
parent fc250074b3
commit 68bbc8438c
75 changed files with 118 additions and 169 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
#include <fixedmath.h>
#include <nuttx/drivers/pwm.h>
#include <nuttx/timers/pwm.h>
#include <nuttx/fs/ioctl.h>
#ifdef CONFIG_AUDIO_TONE
+1 -1
View File
@@ -294,7 +294,7 @@
#define _ANIOCVALID(c) (_IOC_TYPE(c)==_ANIOCBASE)
#define _ANIOC(nr) _IOC(_ANIOCBASE,nr)
/* NuttX PWM ioctl definitions (see nuttx/drivers/pwm.h) ********************/
/* NuttX PWM ioctl definitions (see nuttx/timers/pwm.h) *********************/
#define _PWMIOCVALID(c) (_IOC_TYPE(c)==_PWMIOCBASE)
#define _PWMIOC(nr) _IOC(_PWMIOCBASE,nr)
+1 -1
View File
@@ -45,7 +45,7 @@
#include <fixedmath.h>
#include <nuttx/drivers/pwm.h>
#include <nuttx/timers/pwm.h>
#include <nuttx/fs/ioctl.h>
#ifdef CONFIG_RGBLED
@@ -1,5 +1,5 @@
/****************************************************************************
* include/nuttx/drivers/pwm.h
* include/nuttx/timers/pwm.h
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>