diff --git a/ADIS_Sumo/Sumo/Maze.c b/ADIS_Sumo/Sumo/Maze.c index d07b4ef..1483ac3 100644 --- a/ADIS_Sumo/Sumo/Maze.c +++ b/ADIS_Sumo/Sumo/Maze.c @@ -144,13 +144,7 @@ uint8_t MAZE_EvaluteTurn(bool *finished, bool *deadEndGoBw) { *deadEndGoBw = FALSE; /* default */ currLineKind = REF_GetLineKind(REF_LINE_KIND_MODE_MAZE); if (currLineKind==REF_LINE_NONE) { /* nothing, must be dead end */ -#if PL_GO_DEADEND_BW - TURN_Turn(TURN_STEP_LINE_BW, NULL); /* step back so we are again on the line for line following */ - turn = TURN_STRAIGHT; - *deadEndGoBw = TRUE; -#else turn = TURN_LEFT180; -#endif } else { HISTORY_Clear(); /* clear history values */ HISTORY_SampleSensors(); /* store current values */ diff --git a/ADIS_Sumo/source/IncludeMcuLibConfig.h b/ADIS_Sumo/source/IncludeMcuLibConfig.h index c4cfaba..5df2d11 100644 --- a/ADIS_Sumo/source/IncludeMcuLibConfig.h +++ b/ADIS_Sumo/source/IncludeMcuLibConfig.h @@ -120,10 +120,5 @@ /* ---------------------------------------------------------------------------------------*/ /* FXOS8700 accelerometer */ #define McuFXOS8700_CONFIG_I2C_DEVICE_ADDRESS (0x1D) -/* ------------------- McuLog -----------------------*/ -#define McuLog_CONFIG_IS_ENABLED (1) -#define McuLog_CONFIG_LOG_TIMESTAMP_DATE (0) -#define McuLog_CONFIG_LOG_TIMESTAMP_TIME (1) -#define McuLog_CONFIG_NOF_CONSOLE_LOGGER (2) /* ---------------------------------------------------------------------------------------*/ diff --git a/ADIS_Sumo/source/Shell.c b/ADIS_Sumo/source/Shell.c index 80e032e..851de23 100644 --- a/ADIS_Sumo/source/Shell.c +++ b/ADIS_Sumo/source/Shell.c @@ -54,7 +54,6 @@ #if PL_CONFIG_HAS_ACCEL #include "McuFXOS8700.h" #endif -#include "McuLog.h" static const McuShell_ParseCommandCallback CmdParserTable[] = { @@ -112,7 +111,6 @@ static const McuShell_ParseCommandCallback CmdParserTable[] = #if PL_CONFIG_HAS_ACCEL McuFXOS8700_ParseCommand, #endif - McuLog_ParseCommand, NULL /* Sentinel */ }; @@ -195,7 +193,7 @@ static void ShellTask(void *pv) { unsigned int i; (void)pv; /* not used */ - McuLog_info("Shell task started.\r\n"); + McuShell_SendStr((uint8_t*)"Shell task started.\r\n", McuShell_GetStdio()->stdOut); for(i=0;i