|
|
@ -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; |
|
|
|
|
|
|
|