enable PIN_REQ
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user