diff --git a/system/poweroff/poweroff.c b/system/poweroff/poweroff.c index 8769afd54..fe27ab331 100644 --- a/system/poweroff/poweroff.c +++ b/system/poweroff/poweroff.c @@ -37,7 +37,7 @@ * Included Files ****************************************************************************/ -#include +#include /**************************************************************************** * Public Functions @@ -63,5 +63,10 @@ int poweroff_main(int argc, char *argv[]) */ board_power_off(); + + /* If board_power_off function returns, then it was not possible to power-off the + * board due to some constraints. + */ + return 0; }