From 518d98ad5f9eec0cf4124375bdbb84d1296b3f3f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 4 Jul 2024 17:09:55 +0200 Subject: (almost) added getcube --- src/io_cube.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/io_cube.h') 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 @@ -_static cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); - _static uint8_t readco(const char *); _static uint8_t readcp(const char *); _static uint8_t readeo(const char *); @@ -31,15 +29,6 @@ _static struct { { .name = "NONE", .read = NULL, .write = NULL }, }; -_static_inline cube_t -cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) -{ - return static_cube( - c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], - e[8], e[9], e[10], e[11]); -} - cube_t readcube(const char *format, const char *buf) { -- cgit v1.3