Revision 345
reorganizing
makecode_map.h | ||
---|---|---|
10 | 10 |
|
11 | 11 |
#include <stdint.h> |
12 | 12 |
|
13 |
#define BASE_CODE 0x02
|
|
13 |
/// @brief Error code
|
|
14 | 14 |
#define ERROR_CODE 0 |
15 | 15 |
|
16 | 16 |
/** |
17 | 17 |
* @brief Maps make code into char |
18 | 18 |
* @param code Make code to map. |
19 |
* @return 0 if the char isn't valid, otherwise the character.
|
|
19 |
* @return ERROR_CODE if code char isn't valid, otherwise the character.
|
|
20 | 20 |
*/ |
21 | 21 |
char (map_makecode)(uint8_t code); |
22 | 22 |
|
Also available in: Unified diff