mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-19 06:23:44 +02:00
Refactor the HTTP Rest API commands, fix streaming missing
This commit is contained in:
@@ -26,7 +26,7 @@ std::unordered_map<std::string, CommandType> commandTypeMap = {
|
||||
{"get_led_duty_cycle", CommandType::GET_LED_DUTY_CYCLE},
|
||||
{"get_serial", CommandType::GET_SERIAL},
|
||||
{"get_led_current", CommandType::GET_LED_CURRENT},
|
||||
{"get_who_am_i", CommandType::GET_WHO_AM_I},
|
||||
{"get_who_am_i", CommandType::GET_WHO_AM_I},
|
||||
};
|
||||
|
||||
std::function<CommandResult()> CommandManager::createCommand(const CommandType type, const nlohmann::json &json) const
|
||||
|
||||
Reference in New Issue
Block a user