mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +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:
@@ -65,10 +65,7 @@
|
||||
# define NXF_PIXELMASK 0x01
|
||||
# define NXF_SCALEX(x) ((x) >> 3)
|
||||
# define NXF_PIXEL_T uint8_t
|
||||
# define NXF_MULTIPIXEL(p) ((uint8_t)(p) << 7 | (uint8_t)(p) << 6 | \
|
||||
(uint8_t)(p) << 5 | (uint8_t)(p) << 4 | \
|
||||
(uint8_t)(p) << 3 | (uint8_t)(p) << 2 | \
|
||||
(uint8_t)(p) << 1 | (p))
|
||||
# define NXF_MULTIPIXEL(p) ((p) ? 0xff : 0x00)
|
||||
|
||||
#elif NXFONTS_BITSPERPIXEL == 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user