]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Fixed COMPETITION flag
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 24 Apr 2009 20:01:17 +0000 (22:01 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 24 Apr 2009 20:01:17 +0000 (22:01 +0200)
build/ppc/config.target
src/robofsm/competition.cc

index 773caf20aa58c2f4955099ff392f73ab0cb2cb02..2675a96c13064092fda5a97aa347994a92600d2d 100644 (file)
@@ -8,7 +8,7 @@ AR = $(CROSS_COMPILE)ar
 #CONFIG_OC_ETH_ORTE_IDL=y
 
 CFLAGS = -Wall -DCOMPETITION
-CXXFLAGS = -Wall
+CXXFLAGS = $(CFLAGS)
 
 # ##powerpc
 #BROKEN_G++_INCLUDE=y
index e701a35d71f5882aceba0d8d52cb7ba489af8b4d..a7c02017609643cbf7c5fad8f49120aaae43f7b5 100644 (file)
@@ -295,8 +295,8 @@ FSM_STATE(init)
 FSM_STATE(wait_for_start)
 {
        pthread_t thid;
-#ifdef COMPETITON
-       printf("COMPETITION mode set");
+#ifdef COMPETITION
+       printf("COMPETITION mode set\n");
 #endif
        switch (FSM_EVENT) {
 #ifdef WAIT_FOR_START