extmod/modbluetooth: Fix order of params to IRQ_GATTS_WRITE event.

pull/1/head
Jim Mussared 2019-10-14 15:48:00 +11:00 committed by Damien George
parent 62e3a966fb
commit cb73103f57
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ void mp_bluetooth_gap_on_connected_disconnected(uint16_t event, uint16_t conn_ha
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
mp_obj_bluetooth_ble_t *o = MP_OBJ_TO_PTR(MP_STATE_VM(bluetooth));
bool sched;