Merge remote-tracking branch 'origin/Neulive20_MergeWith13' into Neulive20_MergeWith13
This commit is contained in:
+2
-2
@@ -371,7 +371,7 @@ static uint8_t headstage_debug_instruction(uint8_t* ins_buf) {
|
||||
|
||||
static uint8_t get_sti_channel(uint8_t sti_channel) {
|
||||
uint8_t sti_ch;
|
||||
for (uint8_t i = 0; i <NEU_STI_CHANNEL_COUNTS ; i++) {
|
||||
for (uint8_t i = 0; i < NEU_STI_CHANNEL_COUNTS-1 ; i++) {
|
||||
if ((0x0001 << i) & sti_channel) {
|
||||
sti_ch = i;
|
||||
return sti_ch;
|
||||
@@ -1159,7 +1159,7 @@ static void headstage_neu_state_spi() {
|
||||
NEULIVE_STATE.state = NEU_PREPARE_READ;
|
||||
FlushSPICounter ++;
|
||||
AppendSPITX(0, 0);
|
||||
headstage_spi_transaction(SPI_BUFFER_SIZE);
|
||||
// headstage_spi_transaction(SPI_BUFFER_SIZE);
|
||||
}
|
||||
else{
|
||||
SPICallBack = READ_MOSI;
|
||||
|
||||
Reference in New Issue
Block a user