new LSK decoder testing

This commit is contained in:
weiting2
2020-01-03 16:08:45 +08:00
parent 5b0b11fb74
commit 629f78f9e2
@@ -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();