Gitiles
Code Review
Sign In
192.168.1.100
/
T108_Public
/
281ac461b7e33a1b6a333bf16976dafdb6e1e0b9
/
.
/
mbtk
/
ql_lib
/
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
;
}