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:
patacongo
2011-04-19 18:51:02 +00:00
parent 5ff1e144b2
commit 8d2d65205e
13 changed files with 62 additions and 62 deletions
@@ -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 */
+4
View File
@@ -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 */