diff options
Diffstat (limited to 'src/io_cube.h')
| -rw-r--r-- | src/io_cube.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/io_cube.h b/src/io_cube.h index 95c1882..956494d 100644 --- a/src/io_cube.h +++ b/src/io_cube.h | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | _static cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); | ||
| 2 | |||
| 3 | _static uint8_t readco(const char *); | 1 | _static uint8_t readco(const char *); |
| 4 | _static uint8_t readcp(const char *); | 2 | _static uint8_t readcp(const char *); |
| 5 | _static uint8_t readeo(const char *); | 3 | _static uint8_t readeo(const char *); |
| @@ -31,15 +29,6 @@ _static struct { | |||
| 31 | { .name = "NONE", .read = NULL, .write = NULL }, | 29 | { .name = "NONE", .read = NULL, .write = NULL }, |
| 32 | }; | 30 | }; |
| 33 | 31 | ||
| 34 | _static_inline cube_t | ||
| 35 | cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) | ||
| 36 | { | ||
| 37 | return static_cube( | ||
| 38 | c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], | ||
| 39 | e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], | ||
| 40 | e[8], e[9], e[10], e[11]); | ||
| 41 | } | ||
| 42 | |||
| 43 | cube_t | 32 | cube_t |
| 44 | readcube(const char *format, const char *buf) | 33 | readcube(const char *format, const char *buf) |
| 45 | { | 34 | { |
