mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 17:39:00 +08:00
Rename i2c directories to sensors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3525 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/i2c/i2c.h
|
||||
* include/nuttx/i2c.h
|
||||
*
|
||||
* Copyright(C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_I2C_I2C_H
|
||||
#define __INCLUDE_NUTTX_I2C_I2C_H
|
||||
#ifndef __INCLUDE_NUTTX_I2C_H
|
||||
#define __INCLUDE_NUTTX_I2C_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -330,4 +330,4 @@ EXTERN int up_i2cuninitialize(FAR struct i2c_dev_s * dev);
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
#endif /* __INCLUDE_NUTTX_I2C_I2C_H */
|
||||
#endif /* __INCLUDE_NUTTX_I2C_H */
|
||||
@@ -161,6 +161,10 @@ EXTERN FAR const struct nx_fontbitmap_s *nxf_getbitmap(uint16_t ch);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN int nxf_convert_1bpp(FAR uint8_t *dest, uint16_t height,
|
||||
uint16_t width, uint16_t stride,
|
||||
FAR const struct nx_fontbitmap_s *bm,
|
||||
nxgl_mxpixel_t color);
|
||||
EXTERN int nxf_convert_2bpp(FAR uint8_t *dest, uint16_t height,
|
||||
uint16_t width, uint16_t stride,
|
||||
FAR const struct nx_fontbitmap_s *bm,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/i2c/st_lis331dl.h
|
||||
* include/nuttx/sensors/st_lis331dl.h
|
||||
*
|
||||
* Copyright (C) 2011 Uros Platise. All rights reserved.
|
||||
*
|
||||
@@ -39,13 +39,12 @@
|
||||
* \brief ST LIS331DL I2C Device Driver
|
||||
**/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_I2C_ST_LIS331DL_H
|
||||
#define __INCLUDE_NUTTX_I2C_ST_LIS331DL_H
|
||||
#ifndef __INCLUDE_NUTTX_SENSORS_ST_LIS331DL_H
|
||||
#define __INCLUDE_NUTTX_SENSORS_ST_LIS331DL_H
|
||||
|
||||
#include <nuttx/i2c/i2c.h>
|
||||
#include <nuttx/i2c.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-Processor Declarations
|
||||
************************************************************************************/
|
||||
@@ -176,5 +175,5 @@ EXTERN const struct st_lis331dl_vector_s * st_lis331dl_getreadings(struct st_lis
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __INCLUDE_NUTTX_I2C_ST_LIS331DL_H */
|
||||
#endif /* __INCLUDE_NUTTX_SENSORS_ST_LIS331DL_H */
|
||||
|
||||
Reference in New Issue
Block a user