diff options
Diffstat (limited to 'stm32/app/util.c')
-rw-r--r-- | stm32/app/util.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/stm32/app/util.c b/stm32/app/util.c deleted file mode 100644 index bf65510..0000000 --- a/stm32/app/util.c +++ /dev/null @@ -1,14 +0,0 @@ -#include "project.h" - -char int_to_hex_char (int a) -{ - if (a < 0) return '?'; - - if (a < 0xa) return '0' + a; - - if (a < 0x10) return '7' + a; - - return '?'; -} - - |