From 6fc5b42d728152bd4f45d8f08bf6ef579abcd283 Mon Sep 17 00:00:00 2001 From: tianjialong Date: Sun, 12 Mar 2023 21:06:22 +0800 Subject: [PATCH] update --- usersrc/usermain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usersrc/usermain.c b/usersrc/usermain.c index 0ebc1b2..f3181ef 100644 --- a/usersrc/usermain.c +++ b/usersrc/usermain.c @@ -57,7 +57,7 @@ void set_spi_table_sel(uint8_t startoff) { table[SPI_SEL_TYPE][i] = 1; } - else if (i >= startoff && i < (startoff + 33)) + else if (i >= startoff && i < (startoff + 35)) { table[SPI_SEL_TYPE][i] = 0; } @@ -128,7 +128,7 @@ void set_spi_table_mosi(uint8_t startoff, uint8_t txdata) void dotable(uint8_t txdata) { - int sel_startoff = 3; + int sel_startoff = 2; int clock_startoff = 4; int mosi_startoff = 4;