ROVER - minor change to cpu logger thread
Signed-off-by: Mustafa Ozcelikors <mozcelikors@gmail.com>
diff --git a/rover/src/tasks/cpu_logger_task.cpp b/rover/src/tasks/cpu_logger_task.cpp
index 31c5de6..a54f1ea 100644
--- a/rover/src/tasks/cpu_logger_task.cpp
+++ b/rover/src/tasks/cpu_logger_task.cpp
@@ -71,7 +71,9 @@
while (token != NULL && core_num<=4)
{
+#ifdef DEBUG_CPU_LOGGER
printf("token=%s\n", token);
+#endif
sscanf(token, "%lf", &roverUtilCpu[core_num]);
token = strtok(NULL, ",");
core_num++;