Skip to content

Commit

Permalink
Fixed broken COMMANDLINE=1 build
Browse files Browse the repository at this point in the history
  • Loading branch information
kanflo committed Jan 6, 2019
1 parent 2a73119 commit c4e3b4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opendps/command_handler.c
Expand Up @@ -33,7 +33,7 @@
#include "pwrctl.h"
#include "serialhandler.h"

extern void ui_update_power_status(bool enabled); // opendps.c
extern void opendps_update_power_status(bool enabled); // opendps.c

static void stat_cmd(uint32_t argc, char *argv[]);
static void on_cmd(uint32_t argc, char *argv[]);
Expand Down Expand Up @@ -110,7 +110,7 @@ static void on_cmd(uint32_t argc, char *argv[])
(void) argv;
dbg_printf("Power on\n");
pwrctl_enable_vout(true);
ui_update_power_status(true);
opendps_update_power_status(true);
}

static void off_cmd(uint32_t argc, char *argv[])
Expand All @@ -119,7 +119,7 @@ static void off_cmd(uint32_t argc, char *argv[])
(void) argv;
dbg_printf("Power off\n");
pwrctl_enable_vout(false);
ui_update_power_status(false);
opendps_update_power_status(false);
}

static void stat_cmd(uint32_t argc, char *argv[])
Expand Down

0 comments on commit c4e3b4a

Please sign in to comment.