mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 07:01:43 +01:00 
			
		
		
		
	- Split the sleep-related system commands into a separate file - Don't compile that file and don't register sleep commands for H2 yet - Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
		
			
				
	
	
		
			19 lines
		
	
	
		
			463 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			463 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* Console example — various system commands
 | |
| 
 | |
|    This example code is in the Public Domain (or CC0 licensed, at your option.)
 | |
| 
 | |
|    Unless required by applicable law or agreed to in writing, this
 | |
|    software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 | |
|    CONDITIONS OF ANY KIND, either express or implied.
 | |
| */
 | |
| 
 | |
| 
 | |
| #include "cmd_system.h"
 | |
| #include "sdkconfig.h"
 | |
| 
 | |
| void register_system(void)
 | |
| {
 | |
|     register_system_common();
 | |
|     register_system_sleep();
 | |
| }
 |