Skip to content

Commit

Permalink
refactor(src): add util and wifi_scanner functions calls to main
Browse files Browse the repository at this point in the history
  • Loading branch information
gemesa committed Apr 18, 2020
1 parent d6711a7 commit 67dc480
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/src/gen_doc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

#include "util.h"
#include "wifi_scanner.h"
/* USER CODE END Includes */

/* Private typedef -----------------------------------------------------------*/
Expand Down Expand Up @@ -98,15 +99,17 @@ int main(void)
MX_SPI1_Init();
MX_TIM2_Init();
/* USER CODE BEGIN 2 */

util_init();
wifi_scanner_init();
/* USER CODE END 2 */

/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */

wifi_scanner_step();
blink_led();
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
Expand Down

0 comments on commit 67dc480

Please sign in to comment.