fixed warning in Sumo project

main
Jonas Arnold 4 years ago
parent d4df711355
commit 9cbe5bb9b9
  1. 4
      ADIS_Sumo/Sumo/Maze.c
  2. 5
      ADIS_Sumo/Sumo/Maze.h

@ -53,11 +53,11 @@ static bool isSolved = FALSE;
static bool useLeftHandOnTheWallRule = TRUE;
static uint8_t presentCounter = 0;
uint8_t MAZE_ResetPresentCount(){
void MAZE_ResetPresentCount(void){
presentCounter = 0;
}
uint8_t MAZE_GetPresentCount(){
uint8_t MAZE_GetPresentCount(void){
return presentCounter;
}

@ -11,9 +11,10 @@
#if PL_CONFIG_APP_LINE_MAZE
#include "Turn.h"
uint8_t MAZE_ResetPresentCount();
void MAZE_ResetPresentCount(void);
uint8_t MAZE_GetPresentCount(void);
uint8_t MAZE_GetPresentCount();
/*!
* \brief Adds a new path while going forward through the maze
* \param kind New path to be added

Loading…
Cancel
Save