extmod/modbluetooth: Fix order of params to IRQ_GATTS_WRITE event.
This commit is contained in:
parent
62e3a966fb
commit
cb73103f57
@ -829,7 +829,7 @@ void mp_bluetooth_gap_on_connected_disconnected(uint16_t event, uint16_t conn_ha
|
|||||||
schedule_ringbuf(sched);
|
schedule_ringbuf(sched);
|
||||||
}
|
}
|
||||||
|
|
||||||
void mp_bluetooth_gatts_on_write(uint16_t value_handle, uint16_t conn_handle) {
|
void mp_bluetooth_gatts_on_write(uint16_t conn_handle, uint16_t value_handle) {
|
||||||
MICROPY_PY_BLUETOOTH_ENTER
|
MICROPY_PY_BLUETOOTH_ENTER
|
||||||
mp_obj_bluetooth_ble_t *o = MP_OBJ_TO_PTR(MP_STATE_VM(bluetooth));
|
mp_obj_bluetooth_ble_t *o = MP_OBJ_TO_PTR(MP_STATE_VM(bluetooth));
|
||||||
bool sched;
|
bool sched;
|
||||||
|
Loading…
Reference in New Issue
Block a user