CI: add astyle pre-commit hook

This commit is contained in:
WanqQixiang
2026-02-03 15:30:42 +08:00
parent cb27fe763d
commit 968ff042a8
199 changed files with 4422 additions and 4726 deletions
@@ -88,7 +88,6 @@ esp_err_t print_description(const command_t *command, void *arg)
return ESP_OK;
}
static esp_err_t help_handler(int argc, char **argv)
{
base_engine.for_each_command(print_description, NULL);
@@ -97,7 +96,7 @@ static esp_err_t help_handler(int argc, char **argv)
static esp_err_t register_default_commands()
{
static const command_t command= {
static const command_t command = {
.name = "help",
.description = "Print help",
.handler = help_handler,