enable PIN_REQ

This commit is contained in:
weiting2
2021-01-20 18:30:04 +08:00
parent 56cd868546
commit 8e596e2722
@@ -103,8 +103,8 @@ static void central_handle_notify(){
central_spi_send(p - master_tx_buffer);
// if (central_pi3_not_busy() && ((not_offset >= MEM_SWITCH_THRESHOLD) || flag_mask(EVT_PIN_REQST))) {
if (central_pi3_not_busy() && (not_offset >= MEM_SWITCH_THRESHOLD)) {
if (central_pi3_not_busy() && ((not_offset >= MEM_SWITCH_THRESHOLD) || flag_mask(EVT_PIN_REQST))) {
// if (central_pi3_not_busy() && (not_offset >= MEM_SWITCH_THRESHOLD)) {
flag_disable(EVT_PIN_REQST);
master_switch_memory();
}