There was an error while loading. Please reload this page.
1 parent 209654e commit 0f22eb1Copy full SHA for 0f22eb1
1 file changed
src/BluetoothA2DPCommon.h
@@ -125,6 +125,11 @@ using namespace esp_i2s;
125
#define esp_bt_gap_set_device_name esp_bt_dev_set_device_name
126
#endif
127
128
+// Support for older IDF versions
129
+#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 2, 0)
130
+#define ESP_A2D_AUDIO_STATE_SUSPEND ESP_A2D_AUDIO_STATE_REMOTE_SUSPEND
131
+#endif
132
+
133
#define A2DP_DEPRECATED __attribute__((deprecated))
134
135
#define BT_APP_SIG_WORK_DISPATCH (0x01)
0 commit comments