application: minor, rename print_voltage_taget to print_target
This commit is contained in:
parent
a90c189eb3
commit
e5dbb79b0e
|
@ -132,7 +132,7 @@ static float* measure_voltages(void)
|
|||
}
|
||||
|
||||
/** measure and print target voltage */
|
||||
static void print_voltage_target(void)
|
||||
static void print_target(void)
|
||||
{
|
||||
gpio_set(GPIO_PORT(SIGNAL_PU_PIN), GPIO_PIN(SIGNAL_PU_PIN)); // ensure we are not pulling up the signal
|
||||
gpio_set(GPIO_PORT(SIGNAL_PD_PIN), GPIO_PIN(SIGNAL_PD_PIN)); // ensure we are not pulling down the signal
|
||||
|
@ -218,7 +218,7 @@ static void command_voltages(void* argument)
|
|||
{
|
||||
(void)argument; // we won't use the argument
|
||||
float* voltages;
|
||||
print_voltage_target(); // print target voltage (also sets measurement conditions)
|
||||
print_target(); // print target voltage (also sets measurement conditions)
|
||||
puts("signal voltages:\n");
|
||||
for (uint8_t i = 0; i < SIGNAL_NUMBERS; i++) {
|
||||
puts("- ");
|
||||
|
|
Loading…
Reference in New Issue