Browse Source

update

temp
tianjialong 2 years ago
parent
commit
6fc5b42d72
  1. 4
      usersrc/usermain.c

4
usersrc/usermain.c

@ -57,7 +57,7 @@ void set_spi_table_sel(uint8_t startoff)
{ {
table[SPI_SEL_TYPE][i] = 1; 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; 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) void dotable(uint8_t txdata)
{ {
int sel_startoff = 3;
int sel_startoff = 2;
int clock_startoff = 4; int clock_startoff = 4;
int mosi_startoff = 4; int mosi_startoff = 4;

Loading…
Cancel
Save