updated
This commit is contained in:
parent
0bfa83ff9e
commit
0747587c0a
@ -1,9 +1,10 @@
|
||||
all:
|
||||
$(CC) teres1-debug.c -o teres1-debug
|
||||
|
||||
$(CC) teres1-ledctrl.c -o teres1-ledctrl
|
||||
clean:
|
||||
$(RM) teres1-debug
|
||||
|
||||
$(RM) teres1-ledctrl
|
||||
install: all
|
||||
install -m0755 teres1-debug /usr/local/sbin
|
||||
|
||||
install -m0755 debug_switch.sh /usr/local/sbin
|
||||
install -m0755 teres1-ledctrl /usr/bin
|
||||
|
@ -79,7 +79,7 @@ if (uid!=0 || uid!=euid || !argv[1]) {
|
||||
else { usage(); exit(0); }
|
||||
export_gpio(DEBUGEN);
|
||||
set_gpio(DEBUGEN, mode);
|
||||
printf("Debuging via serial cable is %s\r\n",argv[1]);
|
||||
printf("Debuging via serial cable on headphone port is %s\r\n",argv[1]);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user