From 6007f2fa7b68c6780e87698c2f6ea6399ce72aba Mon Sep 17 00:00:00 2001 From: Sam Povilus <kernel.development@povil.us> Date: Tue, 18 Feb 2020 18:35:23 -0700 Subject: [PATCH] fix copy paste error in example --- examples/src/rc_balance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/rc_balance.c b/examples/src/rc_balance.c index ff1faa0..532e3c7 100644 --- a/examples/src/rc_balance.c +++ b/examples/src/rc_balance.c @@ -289,7 +289,7 @@ int main(int argc, char *argv[]) // if it was started as a background process then don't bother if(isatty(fileno(stdout)) && (quiet == false)){ if(rc_pthread_create(&printf_thread, __printf_loop, (void*) NULL, SCHED_OTHER, 0)){ - fprintf(stderr, "failed to start battery thread\n"); + fprintf(stderr, "failed to start printf thread\n"); return -1; } } @@ -303,7 +303,7 @@ int main(int argc, char *argv[]) // start balance stack to control setpoints if(rc_pthread_create(&setpoint_thread, __setpoint_manager, (void*) NULL, SCHED_OTHER, 0)){ - fprintf(stderr, "failed to start battery thread\n"); + fprintf(stderr, "failed to start setpoint thread\n"); return -1; } -- GitLab