summaryrefslogtreecommitdiff
path: root/extmod/modbluetooth.h
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2019-12-01 01:07:58 +0200
committerDamien George <damien.p.george@gmail.com>2019-12-27 23:57:46 +1100
commitaca8873bb841860c0b62d36afe42501eb4505199 (patch)
treeebe27486ebc98e79989c4b579fc3ec1c3e5c96ed /extmod/modbluetooth.h
parente79424d672919bfc59862d14f2d9e78e43e8582e (diff)
extmod/modbluetooth: Fix func prototype, empty args should be (void).
This fixes a -Wstrict-prototypes error.
Diffstat (limited to 'extmod/modbluetooth.h')
-rw-r--r--extmod/modbluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modbluetooth.h b/extmod/modbluetooth.h
index fbae67bc4..074f53b97 100644
--- a/extmod/modbluetooth.h
+++ b/extmod/modbluetooth.h
@@ -180,7 +180,7 @@ int mp_bluetooth_gatts_register_service_begin(bool append);
// The value_handles won't be valid until after mp_bluetooth_register_service_end is called.
int mp_bluetooth_gatts_register_service(mp_obj_bluetooth_uuid_t *service_uuid, mp_obj_bluetooth_uuid_t **characteristic_uuids, uint8_t *characteristic_flags, mp_obj_bluetooth_uuid_t **descriptor_uuids, uint8_t *descriptor_flags, uint8_t *num_descriptors, uint16_t *handles, size_t num_characteristics);
// Register any queued services.
-int mp_bluetooth_gatts_register_service_end();
+int mp_bluetooth_gatts_register_service_end(void);
// Read the value from the local gatts db (likely this has been written by a central).
int mp_bluetooth_gatts_read(uint16_t value_handle, uint8_t **value, size_t *value_len);