From 6993b31fb08005c015822c7430185355e8ee7609 Mon Sep 17 00:00:00 2001 From: thggdx <87742871+thggdx@users.noreply.github.com> Date: Thu, 22 Aug 2024 00:30:17 +0800 Subject: [PATCH] fix: Fixed an issue with undeclared function calls (#73) --- uboot-mtk-20220606/common/main.c | 2 ++ uboot-mtk-20230718-09eda825/common/main.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/uboot-mtk-20220606/common/main.c b/uboot-mtk-20220606/common/main.c index ddc20bd18..4bf29c125 100644 --- a/uboot-mtk-20220606/common/main.c +++ b/uboot-mtk-20220606/common/main.c @@ -18,6 +18,8 @@ #include #include +void led_control(const char *cmd, const char *name, const char *arg); + static void run_preboot_environment_command(void) { char *p; diff --git a/uboot-mtk-20230718-09eda825/common/main.c b/uboot-mtk-20230718-09eda825/common/main.c index 34447c8d6..42b0a30eb 100644 --- a/uboot-mtk-20230718-09eda825/common/main.c +++ b/uboot-mtk-20230718-09eda825/common/main.c @@ -19,6 +19,8 @@ #include #include +void led_control(const char *cmd, const char *name, const char *arg); + static void run_preboot_environment_command(void) { char *p;