#include <stdlib.h> | |
#include "ql/ql_common.h" | |
#include "mbtk_log.h" | |
void Ql_Powerdown(int mode) | |
{ | |
switch (mode) | |
{ | |
case 1: | |
system("halt"); | |
break; | |
case 2: | |
system("reboot"); | |
break; | |
default: | |
printf("mode error"); | |
} | |
return ; | |
} | |
void ql_lib_info_print() | |
{ | |
MBTK_SOURCE_INFO_PRINT("ql_lib"); | |
} | |