new LSK decoder testing
This commit is contained in:
+4
-1
@@ -960,6 +960,7 @@ static void headstage_uni_umc_data_append_notify_buffer(uint8_t* dat_buf) {
|
||||
}
|
||||
}
|
||||
if(StartSync){
|
||||
headstage_led_spi_color(COLOR_CYAN);
|
||||
// check header, which is also a sync for single channel
|
||||
if( (dat_buf[1] & 0x78) == 0x28 ){
|
||||
dat_buf[0] = (dat_buf[0] << 1) | ((dat_buf[1] >> 7) & 0x01);
|
||||
@@ -981,7 +982,9 @@ static void headstage_uni_umc_data_append_notify_buffer(uint8_t* dat_buf) {
|
||||
headstage_notify_send();
|
||||
}
|
||||
}
|
||||
headstage_uni_delay();
|
||||
else{
|
||||
headstage_uni_delay();
|
||||
}
|
||||
}
|
||||
else{
|
||||
headstage_uni_delay();
|
||||
|
||||
Reference in New Issue
Block a user