Refactor header includes

This commit is contained in:
Ben V. Brown
2024-09-22 21:24:29 +10:00
parent 8b63292d72
commit 64b2c4b3b1
13 changed files with 17 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
#ifndef CONFIGURATION_H_ #ifndef CONFIGURATION_H_
#define CONFIGURATION_H_ #define CONFIGURATION_H_
#include "Settings.h"
#include <stdint.h> #include <stdint.h>
/** /**
* Configuration.h * Configuration.h

View File

@@ -4,6 +4,7 @@
#include "BootLogo.h" #include "BootLogo.h"
#include "I2C_Wrapper.hpp" #include "I2C_Wrapper.hpp"
#include "Pins.h" #include "Pins.h"
#include "Settings.h"
#include "Setup.h" #include "Setup.h"
#include "TipThermoModel.h" #include "TipThermoModel.h"
#include "USBPD.h" #include "USBPD.h"

View File

@@ -1,6 +1,5 @@
#ifndef CONFIGURATION_H_ #ifndef CONFIGURATION_H_
#define CONFIGURATION_H_ #define CONFIGURATION_H_
#include "Settings.h"
#include <stdint.h> #include <stdint.h>
/** /**
* Configuration.h * Configuration.h

View File

@@ -1,6 +1,5 @@
#ifndef CONFIGURATION_H_ #ifndef CONFIGURATION_H_
#define CONFIGURATION_H_ #define CONFIGURATION_H_
#include "Settings.h"
#include <stdint.h> #include <stdint.h>
/** /**
* Configuration.h * Configuration.h

View File

@@ -1,6 +1,5 @@
#ifndef CONFIGURATION_H_ #ifndef CONFIGURATION_H_
#define CONFIGURATION_H_ #define CONFIGURATION_H_
#include "Settings.h"
#include <stdint.h> #include <stdint.h>
/** /**
* Configuration.h * Configuration.h

View File

@@ -1,6 +1,5 @@
#ifndef CONFIGURATION_H_ #ifndef CONFIGURATION_H_
#define CONFIGURATION_H_ #define CONFIGURATION_H_
#include "Settings.h"
#include <stdint.h> #include <stdint.h>
/** /**
* Configuration.h * Configuration.h

View File

@@ -2,6 +2,7 @@
#include "BSP.h" #include "BSP.h"
#include "Buttons.hpp" #include "Buttons.hpp"
#include "OLED.hpp" #include "OLED.hpp"
#include "Settings.h"
#include "cmsis_os.h" #include "cmsis_os.h"
#define LOGO_PAGE_LENGTH 1024 #define LOGO_PAGE_LENGTH 1024

View File

@@ -6,6 +6,7 @@
*/ */
#include "Buttons.hpp" #include "Buttons.hpp"
#include "Settings.h"
#include "Translation.h" #include "Translation.h"
#include "cmsis_os.h" #include "cmsis_os.h"
#include "configuration.h" #include "configuration.h"

View File

@@ -6,6 +6,7 @@
*/ */
#include "BSP_Power.h" #include "BSP_Power.h"
#include "Settings.h"
#include "configuration.h" #include "configuration.h"
#include <Utils.h> #include <Utils.h>

View File

@@ -7,9 +7,10 @@
* Houses the system settings and allows saving / restoring from flash * Houses the system settings and allows saving / restoring from flash
*/ */
#include "configuration.h"
#ifndef CORE_SETTINGS_H_ #ifndef CORE_SETTINGS_H_
#define CORE_SETTINGS_H_ #define CORE_SETTINGS_H_
#include "configuration.h"
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#ifdef MODEL_Pinecilv2 #ifdef MODEL_Pinecilv2

View File

@@ -1,6 +1,6 @@
#include "ScrollMessage.hpp" #include "ScrollMessage.hpp"
#include "OLED.hpp" #include "OLED.hpp"
#include "Settings.h"
#include "configuration.h" #include "configuration.h"
/** /**

View File

@@ -3,6 +3,7 @@
#include "Buttons.hpp" #include "Buttons.hpp"
#include "OLED.hpp" #include "OLED.hpp"
#include "OperatingModeUtilities.h" #include "OperatingModeUtilities.h"
#include "Settings.h"
#include "configuration.h" #include "configuration.h"
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>

View File

@@ -2,6 +2,7 @@
#define OPERATING_MODE_UTILITIES_H_ #define OPERATING_MODE_UTILITIES_H_
#include "Buttons.hpp" #include "Buttons.hpp"
#include "OLED.hpp" #include "OLED.hpp"
#include "Settings.h"
#include <stdbool.h> #include <stdbool.h>
void GUIDelay(); // void GUIDelay(); //