Skip to content

Commit

Permalink
fix top board build; circular include issues before?
Browse files Browse the repository at this point in the history
  • Loading branch information
JWillegers committed Jul 14, 2024
1 parent dfa89d8 commit 755029f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
1 change: 0 additions & 1 deletion Core/Inc/top_board/Wireless/Wireless.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <stdint.h>
#include "SX1280_Constants.h"
#include "SX1280.h"
#include "main.h"

#define WIRELESS_YELLOW_CHANNELS 0
#define WIRELESS_BLUE_CHANNELS 1
Expand Down
20 changes: 0 additions & 20 deletions Core/Inc/top_board/robot.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,8 @@
#include <unistd.h>
#include "main.h"

#include "control_util.h"
#include "gpio_util.h"
#include "tim_util.h"
#include "peripheral_util.h"
#include "wheels.h"
#include "stateControl.h"
#include "stateEstimation.h"
#include "sdcard.h"
#include "Wireless.h"
#include "buzzer.h"
#include "speaker.h"
#include "MTi.h"
#include "yawCalibration.h"
#include "iwdg.h"
#include "logging.h"
#include "SX1280_Constants.h"
#include "AssuredPacketManager.h"
#include "drivers.h"
#include "pages.h"
#include "system_test.h"
#include "drain_battery.h"
#include "mcp_page.h"

#include "rem.h"

Expand Down
22 changes: 22 additions & 0 deletions Core/Src/top_board/robot.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
#include "robot.h"

#include "control_util.h"
#include "gpio_util.h"
#include "tim_util.h"
#include "peripheral_util.h"
#include "wheels.h"
#include "stateControl.h"
#include "stateEstimation.h"
#include "sdcard.h"
#include "Wireless.h"
#include "buzzer.h"
#include "speaker.h"
#include "MTi.h"
#include "yawCalibration.h"
#include "iwdg.h"
#include "logging.h"
#include "SX1280_Constants.h"
#include "AssuredPacketManager.h"
#include "system_test.h"
#include "drain_battery.h"
#include "mcp_page.h"


/* ============================================================ */
/* ======================= VARIABLES ========================== */
/* ============================================================ */
Expand Down

0 comments on commit 755029f

Please sign in to comment.