File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
/* Detect ESP-IDF releases */
7
7
#include <esp_idf_version.h>
8
8
9
- #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (3 , 2 , 0 )
9
+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (5 , 4 , 1 )
10
10
#include "esp_mac.h" //
11
11
#include "esp_spp_api.h" //
12
12
#endif
@@ -64,7 +64,7 @@ void ps4Init() {
64
64
*******************************************************************************/
65
65
void ps4Deinit () {
66
66
ps4_l2cap_deinit_services ();
67
- #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (3 , 2 , 0 )
67
+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (5 , 4 , 1 )
68
68
esp_spp_deinit ();
69
69
#else
70
70
spp_deinit ();
@@ -253,7 +253,7 @@ void ps4SetBluetoothMacAddress(const uint8_t* mac) {
253
253
uint8_t baseMac [6 ];
254
254
memcpy (baseMac , mac , 6 );
255
255
baseMac [5 ] -= 2 ;
256
- #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (3 , 2 , 0 )
256
+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (5 , 4 , 1 )
257
257
esp_iface_mac_addr_set (baseMac , ESP_MAC_BASE );
258
258
#else
259
259
esp_base_mac_addr_set (baseMac );
You can’t perform that action at this time.
0 commit comments