Gitiles
Code Review
Sign In
192.168.1.100
/
T108_Public
/
1c74d6963d526bb7df624fef958e722928cf81e2
/
.
/
mbtk
/
libql_lib_v2
/
src
/
ql_common.c
blob: 70d0ad3854f78b85405cfd44f6939e815fd7af10 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
"ql/ql_common.h"
void
Ql_Powerdown
(
int
mode
)
{
switch
(
mode
)
{
case
1
:
system
(
"halt"
);
break
;
case
2
:
system
(
"reboot"
);
break
;
default
:
printf
(
"mode error"
);
}
return
;
}