2017-08-15 04:11:19 -04:00
|
|
|
/* 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.
|
|
|
|
*/
|
|
|
|
|
2023-03-24 08:50:48 -04:00
|
|
|
|
2018-09-20 07:26:14 -04:00
|
|
|
#include "cmd_system.h"
|
2018-01-31 01:04:40 -05:00
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
2020-04-30 10:52:39 -04:00
|
|
|
void register_system(void)
|
|
|
|
{
|
|
|
|
register_system_common();
|
2023-03-24 08:50:48 -04:00
|
|
|
#ifndef CONFIG_IDF_TARGET_ESP32H2 // IDF-6268
|
2020-04-30 10:52:39 -04:00
|
|
|
register_system_sleep();
|
2021-01-18 04:46:37 -05:00
|
|
|
#endif
|
2022-06-21 11:14:08 -04:00
|
|
|
}
|