mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 21:05:26 +03:00
CLI fixes
This commit is contained in:
parent
4ebca98cdf
commit
0b163ba067
1 changed files with 2 additions and 2 deletions
|
@ -391,12 +391,12 @@ int cliDisplay(const char ** argv)
|
|||
}
|
||||
else if (!strcmp(argv[1], "adc")) {
|
||||
for (int i=0; i<NUMBER_ANALOG; i++) {
|
||||
serialPrint("adc[%d] = %04X", i, adcValues[i]);
|
||||
serialPrint("adc[%d] = %04X", i, (int)adcValues[i]);
|
||||
}
|
||||
}
|
||||
else if (!strcmp(argv[1], "outputs")) {
|
||||
for (int i=0; i<NUM_CHNOUT; i++) {
|
||||
serialPrint("outputs[%d] = %04X", i, channelOutputs[i]);
|
||||
serialPrint("outputs[%d] = %04d", i, (int)channelOutputs[i]);
|
||||
}
|
||||
}
|
||||
else if (!strcmp(argv[1], "rtc")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue