Fix REST server initialization
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
#ifndef REST_H_
|
||||
#define REST_H_
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
/**
|
||||
* @brief Init rest server
|
||||
*
|
||||
* @brief Initialize REST server
|
||||
*
|
||||
* @param base_path Path on the SPIFFS filesystem where static files reside
|
||||
* @return ESP_OK on success, ESP_FAIL otherwise
|
||||
*/
|
||||
void rest_init(void);
|
||||
esp_err_t rest_init(const char *base_path);
|
||||
|
||||
#endif /* REST_H_ */
|
||||
|
||||
Reference in New Issue
Block a user