chore: snapshot before shared RS485 bus integration
This commit is contained in:
23
components/rest_api/include/power_settings_api.h
Normal file
23
components/rest_api/include/power_settings_api.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef POWER_SETTINGS_API_H_
|
||||
#define POWER_SETTINGS_API_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "esp_http_server.h"
|
||||
|
||||
/**
|
||||
* @brief Register power configuration REST handlers.
|
||||
*
|
||||
* Endpoint:
|
||||
* GET /api/v1/config/power
|
||||
* POST /api/v1/config/power
|
||||
*/
|
||||
void register_power_settings_handlers(httpd_handle_t server, void *ctx);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* POWER_SETTINGS_API_H_ */
|
||||
Reference in New Issue
Block a user