diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2015-08-02 18:45:27 +0200 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2015-08-02 18:45:27 +0200 |
commit | 1ed38d4fec564b3d82cccfe8b095dd316d8dcdb1 (patch) | |
tree | 04a9c0c9687a15849b87fffa51a549a17f4239da /os/various/devices_lib | |
parent | a67bba56af1bfc5f8c24c03ef6c9c411518e802e (diff) | |
download | ChibiOS-Contrib-1ed38d4fec564b3d82cccfe8b095dd316d8dcdb1.tar.gz ChibiOS-Contrib-1ed38d4fec564b3d82cccfe8b095dd316d8dcdb1.tar.bz2 ChibiOS-Contrib-1ed38d4fec564b3d82cccfe8b095dd316d8dcdb1.zip |
minor fixes on max7219.h
Diffstat (limited to 'os/various/devices_lib')
-rw-r--r-- | os/various/devices_lib/others/max7219.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/os/various/devices_lib/others/max7219.h b/os/various/devices_lib/others/max7219.h index f2bbbdf..e672be9 100644 --- a/os/various/devices_lib/others/max7219.h +++ b/os/various/devices_lib/others/max7219.h @@ -120,13 +120,13 @@ typedef enum { typedef enum { MAX7219_DM_No_decode = 0x00, /*!< No decode */ MAX7219_DM_CodeB_0 = 0x01, /*!< Code B on Digit 0 */ - MAX7219_DM_CodeB_1 = 0x02, /*!< Code B on Digit 1 */ - MAX7219_DM_CodeB_2 = 0x04, /*!< Code B on Digit 2 */ - MAX7219_DM_CodeB_3 = 0x08, /*!< Code B on Digit 3 */ - MAX7219_DM_CodeB_4 = 0x10, /*!< Code B on Digit 4 */ - MAX7219_DM_CodeB_5 = 0x20, /*!< Code B on Digit 5 */ - MAX7219_DM_CodeB_6 = 0x40, /*!< Code B on Digit 6 */ - MAX7219_DM_CodeB_7 = 0x80 /*!< Code B on Digit 7 */ + MAX7219_DM_CodeB_1 = 0x03, /*!< Code B on Digits 0-1 */ + MAX7219_DM_CodeB_2 = 0x07, /*!< Code B on Digits from 0 to 2 */ + MAX7219_DM_CodeB_3 = 0x0F, /*!< Code B on Digits from 0 to 3 */ + MAX7219_DM_CodeB_4 = 0x1F, /*!< Code B on Digits from 0 to 4 */ + MAX7219_DM_CodeB_5 = 0x3F, /*!< Code B on Digits from 0 to 5 */ + MAX7219_DM_CodeB_6 = 0x7F, /*!< Code B on Digits from 0 to 6 */ + MAX7219_DM_CodeB_7 = 0xFF /*!< Code B on every digit */ } MAX7219_DM_t; /** |