blob: 3aa4dfa220938ba7f17c898fe8e0e9ab393dfab6 [file] [log] [blame]
b.liu8583dce2024-04-03 13:30:08 +08001#include <stdio.h>
2#include <strings.h>
3#include<stdlib.h>
4#include "lynq/lynq_uci.h"
5
6
7
8
9int main(int argc, const char *argv[])
10{
11 int ret = 0;
12 ret = lynq_set_netled_on(atoi(argv[1]));
13 if(ret){
14 printf("[%s-%d] lynq_set_netled_on error\n", __FUNCTION__, __LINE__);
15 return -1;
16 }
17 ret = lynq_set_statusled_on(atoi(argv[1]));
18 if(ret){
19 printf("[%s-%d] lynq_set_statusled_on error\n", __FUNCTION__, __LINE__);
20 return -1;
21 }
22
23 return 0;
24}