From 8ceb256665db4d92e2e89d4c0620b527e3a6f759 Mon Sep 17 00:00:00 2001 From: YuzukiTsuru Date: Sun, 7 Jan 2024 12:36:40 +0800 Subject: [PATCH] [board] reformat code --- board/longanpi-3h/tinymaix/tinymaix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/longanpi-3h/tinymaix/tinymaix.h b/board/longanpi-3h/tinymaix/tinymaix.h index 9243bd88..0708c88e 100644 --- a/board/longanpi-3h/tinymaix/tinymaix.h +++ b/board/longanpi-3h/tinymaix/tinymaix.h @@ -27,7 +27,7 @@ limitations under the License. #include "tm_port.h" /******************************* MARCO ************************************/ -#define TM_MDL_MAGIC 'XIAM'//mdl magic sign +#define TM_MDL_MAGIC 0x5849414d//mdl magic sign #define TM_ALIGN_SIZE (8) //8 byte align #define TM_ALIGN(addr) ((((size_t) (addr)) + (TM_ALIGN_SIZE - 1)) / TM_ALIGN_SIZE * TM_ALIGN_SIZE) #define TM_MATP(mat, y, x, ch) ((mat)->data + ((y) * (mat)->w + (x)) * (mat)->c + (ch))