diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-01-05 03:14:50 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-01-05 03:14:50 +0100 |
commit | 4a4ba3538cf52cc1e0238c673d4a97dbbf68c56a (patch) | |
tree | c01e5d0ab22eb618eef08ea85b9e233a87577d4c /src/helpers.c | |
parent | d9b9b3e71397a2da9e16cbee75c4954105237363 (diff) | |
download | analog_instruments-4a4ba3538cf52cc1e0238c673d4a97dbbf68c56a.tar.gz |
fix commands, add fade
Diffstat (limited to 'src/helpers.c')
-rw-r--r-- | src/helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers.c b/src/helpers.c index b8c3373..61c4bc5 100644 --- a/src/helpers.c +++ b/src/helpers.c @@ -7,8 +7,8 @@ #include "helpers.h" uint8_t hex_to_byte(char c[]) { - uint8_t ret = hex_to_halfbyte(c[0]); - ret += 16 * hex_to_halfbyte(c[1]); + uint8_t ret = hex_to_halfbyte(c[1]); + ret += 16 * hex_to_halfbyte(c[0]); return ret; } |