mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	fix BLE sleep can not be enabled
This commit is contained in:
		@@ -128,8 +128,8 @@ extern "C" {
 | 
			
		||||
#define HCI_UART_EN 0 // hci ram mode
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_BT_NIMBLE_SLEEP_ENABLE
 | 
			
		||||
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_NIMBLE_SLEEP_ENABLE
 | 
			
		||||
#ifdef CONFIG_BT_LE_SLEEP_ENABLE
 | 
			
		||||
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_LE_SLEEP_ENABLE
 | 
			
		||||
#else
 | 
			
		||||
#define NIMBLE_SLEEP_ENABLE  0
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user