arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_dac.h: * Fix nxstyle issues.
This commit is contained in:
parent
4cefc5ce7a
commit
78f308ff2c
@ -1,4 +1,4 @@
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/stm32/stm32_dac.h
|
||||
*
|
||||
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
||||
@ -31,14 +31,14 @@
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
||||
#define __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
@ -47,14 +47,16 @@
|
||||
|
||||
#include <nuttx/analog/dac.h>
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor definitions
|
||||
************************************************************************************/
|
||||
/* Configuration ********************************************************************/
|
||||
/* Timer devices may be used for different purposes. One special purpose is to
|
||||
* control periodic DAC outputs. If CONFIG_STM32_TIMn is defined then
|
||||
* CONFIG_STM32_TIMn_DAC must also be defined to indicate that timer "n" is intended
|
||||
* to be used for that purpose.
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* Timer devices may be used for different purposes. One special purpose is
|
||||
* to control periodic DAC outputs. If CONFIG_STM32_TIMn is defined then
|
||||
* CONFIG_STM32_TIMn_DAC must also be defined to indicate that timer "n" is
|
||||
* intended to be used for that purpose.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_STM32_TIM1
|
||||
@ -100,9 +102,9 @@
|
||||
# undef CONFIG_STM32_TIM14_DAC
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* IOCTL commands specific to this driver */
|
||||
|
||||
@ -111,9 +113,9 @@ enum dac_io_cmds
|
||||
IO_DMABUFFER_INIT = 0,
|
||||
};
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user