variable size ble transmissions
This commit is contained in:
@@ -305,8 +305,11 @@ int main(void)
|
||||
|
||||
if (usb_ready and total_tim6() - usb_buff.last_write > 4000) {
|
||||
extern dbl_buff<1024, usb_send> usb_buff;
|
||||
extern dbl_buff<1024, uart_send> ble_buff;
|
||||
usb_buff.send();
|
||||
}
|
||||
|
||||
if (wb1mmc_ready and total_tim6() - ble_buff.last_write > 4000) {
|
||||
extern dbl_buff<1024, uart_send> ble_buff;
|
||||
ble_buff.send();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user