Skip to content
Snippets Groups Projects
Commit 30f8e575 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

Makefile simplify colorecho for CI

parent 3eea8eb3
No related branches found
No related tags found
No related merge requests found
......@@ -138,10 +138,11 @@ define cmake-build
+@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS))
endef
COLOR_BLUE = \033[0;34m
NO_COLOR = \033[m
define colorecho
+@tput setaf 6
+@echo $1
+@tput sgr0
+@echo "${COLOR_BLUE}${1} ${NO_COLOR}"
endef
# Get a list of all config targets.
......
......@@ -154,7 +154,7 @@ static int parse_options(int argc, char *argv[])
}
@[if send_topics]@
void* send(void*)
void* send(void* /*unused*/)
{
char data_buffer[BUFFER_SIZE] = {};
uint64_t sent = 0, total_sent = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment