Cleanup includes

This actually gained us 10% more flash space
This commit is contained in:
2025-10-16 21:03:35 -04:00
parent 7590601f98
commit 945278d673
29 changed files with 47 additions and 95 deletions

View File

@@ -1,6 +1,6 @@
#include "esp_log.h"
#include "DataLinkManager.h"
#include "RMTManager.h"
#include "esp_log.h"
/**
* @brief Construct a new Data Link Manager:: Data Link Manager object

View File

@@ -1,18 +1,16 @@
#ifndef DATA_LINK
#define DATA_LINK
#include "Frames.h"
#include "Tables.h"
#include <queue>
#include <memory>
#include <unordered_map>
#include "esp_event.h"
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#include <queue> //c++ priority queue
#include <memory>
#include "Frames.h"
#include "Tables.h"
#include "RMTManager.h"
#include <unordered_map>
#define DEBUG_LINK_TAG "LinkLayer"

View File

@@ -1,9 +1,5 @@
#ifdef DATA_LINK
#include "freertos/FreeRTOS.h"
#include <variant>
#include <cstdint>
#define BROADCAST_ADDR 0xFF //used for discovery (finding the board's neighbours). this will mean the board ids will have 2^8-2 = 254 unique IDs that could be assigned
#define PC_ADDR 0x0 //setting 0 to be the PC