From fe86471ad00dbd70be13df72eff9fc146aaba0b5 Mon Sep 17 00:00:00 2001 From: Petr Kubiznak Date: Fri, 28 May 2010 12:44:50 +0200 Subject: [PATCH] New lines at the end of orte output messages. --- src/camera/rozkuk/rozkuk.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/camera/rozkuk/rozkuk.cxx b/src/camera/rozkuk/rozkuk.cxx index 3e5dc6d6..bb980c2e 100644 --- a/src/camera/rozkuk/rozkuk.cxx +++ b/src/camera/rozkuk/rozkuk.cxx @@ -29,10 +29,10 @@ extern "C" { } /******************************************************************************/ -// uncomment next line to "log" the output frames - save them as pnm to the working directory +//uncomment next line to "log" the output frames - save them as pnm to the working directory //#define PPC_DEBUG -// uncomment next line to print orte state -#define ORTE_DEBUG +//uncomment next line to print orte state +//#define ORTE_DEBUG // modes definitions #define MODE_QUIT 0x01 @@ -591,7 +591,7 @@ void rcv_cmr_ctrl_cb(const ORTERecvInfo *info, void *vinstance, void *recvCallBa case NEW_DATA: // nothing to do - changes will be processed in the recognition loop #ifdef ORTE_DEBUG - fprintf(stderr, "orte: New camera data: ctrl %d", orte_data->camera_control.on); + fprintf(stderr, "orte: New camera data: ctrl %d\n", orte_data->camera_control.on); #endif /*----------- ORTE_DEBUG -----------*/ break; case DEADLINE: @@ -612,7 +612,7 @@ void rcv_robot_switches_cb(const ORTERecvInfo *info, void *vinstance, void *recv case NEW_DATA: // nothing to do - changes will be processed in the recognition loop #ifdef ORTE_DEBUG - fprintf(stderr, "orte: New switches data: clr %d", instance->team_color); + fprintf(stderr, "orte: New switches data: clr %d\n", instance->team_color); #endif /*----------- ORTE_DEBUG -----------*/ case DEADLINE: fprintf(stderr, "ORTE deadline occurred - CMR_CTRL receive\n"); -- 2.39.2