diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-05 08:53:38 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-05 08:55:25 +0200 |
| commit | fd5ddb3db9f50411ca579d84f225f265ca35b56a (patch) | |
| tree | b659112cc0e2abd6c7edb08b0938c0d2de4ca066 /src/core/io_trans.h | |
| parent | c9e2d6466e42d6b779ac9ffa7c5ee9a9c7558df8 (diff) | |
| download | nissy-core-fd5ddb3db9f50411ca579d84f225f265ca35b56a.tar.gz nissy-core-fd5ddb3db9f50411ca579d84f225f265ca35b56a.zip | |
Rename constants from _underscore to CAPS
Diffstat (limited to 'src/core/io_trans.h')
| -rw-r--r-- | src/core/io_trans.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/io_trans.h b/src/core/io_trans.h index 7187b7a..d91e9a2 100644 --- a/src/core/io_trans.h +++ b/src/core/io_trans.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | _static uint8_t readtrans(const char *); | 1 | STATIC uint8_t readtrans(const char *); |
| 2 | _static void writetrans(uint8_t, char *); | 2 | STATIC void writetrans(uint8_t, char *); |
| 3 | 3 | ||
| 4 | _static uint8_t | 4 | STATIC uint8_t |
| 5 | readtrans(const char *buf) | 5 | readtrans(const char *buf) |
| 6 | { | 6 | { |
| 7 | uint8_t t; | 7 | uint8_t t; |
| @@ -11,10 +11,10 @@ readtrans(const char *buf) | |||
| 11 | return t; | 11 | return t; |
| 12 | 12 | ||
| 13 | LOG("readtrans error\n"); | 13 | LOG("readtrans error\n"); |
| 14 | return _error; | 14 | return UINT8_ERROR; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | _static void | 17 | STATIC void |
| 18 | writetrans(uint8_t t, char *buf) | 18 | writetrans(uint8_t t, char *buf) |
| 19 | { | 19 | { |
| 20 | if (t >= 48) | 20 | if (t >= 48) |
