application: use X instead of x for activity

This commit is contained in:
King Kévin 2021-05-03 13:38:42 +02:00
parent 11c8cee3ee
commit d4e081a280
2 changed files with 4 additions and 4 deletions

View File

@ -35,8 +35,8 @@ provide to argument to not pull the channels.
provide the 0 argument to pull the channels low using the internal 40 kOhm resistor.
provide the 3 argument to pull the channels high to 3.3V using the internal 40 kOhm resistor.
pulling the channels may reduce the noise, in case the channel is floating.
the activity and current state (with time stamp) of the pin will be displayed in real time.
if the channel is switch fast, a X will appear in from of the current level.
the activity and current state (with time stamp) of the pin will be displayed (up to 0.1s speed).
if the channel is switch fast, an 'X' will appear in from of the current level.
to stop monitoring, press any key.
you can also reset the target board if you connected to target reset pin to the SWJ finder.

View File

@ -425,7 +425,7 @@ static void command_monitor(void* argument)
}
// show help
puts("'x' shows multiple changes\n");
puts("'X' shows multiple changes\n");
puts("press any key to stop monitoring\n");
puts("time (s) ");
for (uint8_t i = channel_start; i <= channel_stop; i++) {
@ -472,7 +472,7 @@ static void command_monitor(void* argument)
for (uint8_t i = channel_start; i <= channel_stop; i++) { // print level of each change
putc(' '); // start new channel
if (channels_changed[i] > 1) { // channel changed more than once
putc('x'); // show multiple changes
putc('X'); // show multiple changes
} else {
putc(' '); // show no or single change
}