File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libraries/Bluefruit52Lib/src Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ void adafruit_ble_task(void* arg)
796796 (void ) arg;
797797
798798#if SD_VER >= 500
799- uint8_t * ev_buf = (uint8_t *) rtos_malloc (BLE_EVT_LEN_MAX (BLEGATT_ATT_MTU_MAX ));
799+ uint8_t * ev_buf = (uint8_t *) rtos_malloc (BLE_EVT_LEN_MAX (BLE_GATT_ATT_MTU_MAX ));
800800#endif
801801
802802 while (1 )
@@ -812,7 +812,7 @@ void adafruit_ble_task(void* arg)
812812 __ALIGN (4 ) uint8_t ev_buf[ sizeof (ble_evt_t ) + (BLE_GATT_ATT_MTU_DEFAULT) ];
813813 uint16_t ev_len = sizeof (ev_buf);
814814#else
815- uint16_t ev_len = BLE_EVT_LEN_MAX (BLEGATT_ATT_MTU_MAX );
815+ uint16_t ev_len = BLE_EVT_LEN_MAX (BLE_GATT_ATT_MTU_MAX );
816816#endif
817817
818818 // Get BLE Event
Original file line number Diff line number Diff line change 4343
4444/* Note changing these parameters will affect APP_RAM_BASE
4545 * --> need to update RAM region in linker file
46- * - BLEGATT_ATT_MTU_MAX from 23 (default) to 247
46+ * - BLE_GATT_ATT_MTU_MAX from 23 (default) to 247
4747 */
4848
4949#if SD_VER < 500
50- #define BLEGATT_ATT_MTU_MAX BLE_GATT_ATT_MTU_DEFAULT
50+ #define BLE_GATT_ATT_MTU_MAX BLE_GATT_ATT_MTU_DEFAULT
5151#else
52- #define BLEGATT_ATT_MTU_MAX 247
52+ #define BLE_GATT_ATT_MTU_MAX 247
5353#endif
5454
5555#define BLE_PRPH_MAX_CONN 1
You can’t perform that action at this time.
0 commit comments