aboutsummaryrefslogtreecommitdiff
path: root/extmod/modbluetooth.h
diff options
context:
space:
mode:
authorAndrew Leech2019-09-02 15:40:31 +1000
committerJim Mussared2019-10-01 09:51:02 +1000
commiteb1b6858a2c5454f84ab4bb0b854b96d234995c8 (patch)
treeca489baf8c3f531f06cecb5d1f0a00f4e5bce098 /extmod/modbluetooth.h
parent5dc592d117b68455e8b1c1ef9230090c143358dc (diff)
extmod/modbluetooth: Allow MP_BLUETOOTH_MAX_ATTR_SIZE in board config.
Diffstat (limited to 'extmod/modbluetooth.h')
-rw-r--r--extmod/modbluetooth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/modbluetooth.h b/extmod/modbluetooth.h
index 1b1318dec..9db3bed6c 100644
--- a/extmod/modbluetooth.h
+++ b/extmod/modbluetooth.h
@@ -48,7 +48,9 @@
#endif
// Common constants.
+#ifndef MP_BLUETOOTH_MAX_ATTR_SIZE
#define MP_BLUETOOTH_MAX_ATTR_SIZE (20)
+#endif
// Advertisement packet lengths
#define MP_BLUETOOTH_GAP_ADV_MAX_LEN (32)