mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_dac.h:
* Fix nxstyle issues.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
4cefc5ce7a
commit
78f308ff2c
@@ -1,4 +1,4 @@
|
|||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/stm32/stm32_dac.h
|
* arch/arm/src/stm32/stm32_dac.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
* 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
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
#ifndef __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
||||||
#define __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
#define __ARCH_ARM_SRC_STM32_STM32_DAC_H
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
@@ -47,14 +47,16 @@
|
|||||||
|
|
||||||
#include <nuttx/analog/dac.h>
|
#include <nuttx/analog/dac.h>
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor definitions
|
* Pre-processor definitions
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
/* Configuration ********************************************************************/
|
|
||||||
/* Timer devices may be used for different purposes. One special purpose is to
|
/* Configuration ************************************************************/
|
||||||
* 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
|
/* Timer devices may be used for different purposes. One special purpose is
|
||||||
* to be used for that purpose.
|
* 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
|
#ifndef CONFIG_STM32_TIM1
|
||||||
@@ -100,9 +102,9 @@
|
|||||||
# undef CONFIG_STM32_TIM14_DAC
|
# undef CONFIG_STM32_TIM14_DAC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* IOCTL commands specific to this driver */
|
/* IOCTL commands specific to this driver */
|
||||||
|
|
||||||
@@ -111,9 +113,9 @@ enum dac_io_cmds
|
|||||||
IO_DMABUFFER_INIT = 0,
|
IO_DMABUFFER_INIT = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user