summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-10-14 15:48:00 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-15 17:22:01 +1100
commitcb73103f57aac8c5d58c4e7d495567b6fe3fa137 (patch)
tree25ca35edd4cc1b6ede5dec7e1d8b356e4cfc76a1
parent62e3a966fbb51f66f370523d04677a44680f0760 (diff)
extmod/modbluetooth: Fix order of params to IRQ_GATTS_WRITE event.
-rw-r--r--extmod/modbluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modbluetooth.c b/extmod/modbluetooth.c
index 5e3171e2b..1f247a20c 100644
--- a/extmod/modbluetooth.c
+++ b/extmod/modbluetooth.c
@@ -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;