Skip to content
Snippets Groups Projects
Commit c537a5b6 authored by Zoe Pfister's avatar Zoe Pfister :speech_balloon:
Browse files

streamline class naming

parent 8eca6b25
No related branches found
No related tags found
5 merge requests!39Merge Develop into Main,!19development into master,!17Inital Host, initial Client,!3Merge Branch `develop` into `sensor_readout`,!1Espnow
#include "espnow.hpp" #include "ESPNow.hpp"
uint8_t BROADCAST_MAC[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; uint8_t BROADCAST_MAC[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
esp_now_peer_info_t hostInfo; esp_now_peer_info_t hostInfo;
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
#define _ESPNOW #define _ESPNOW
#include "Message.hpp" #include "Message.hpp"
#include "WiFi.h" #include "Time.hpp"
#include "ram_caching.hpp" #include "ram_caching.hpp"
#include "time.hpp"
#include <ClientDataPackage.hpp> #include <ClientDataPackage.hpp>
#include <ESP32Time.h> #include <ESP32Time.h>
#include <Preferences.h> #include <Preferences.h>
#include <WiFi.h>
#include <esp_now.h> #include <esp_now.h>
typedef struct config { typedef struct config {
......
#pragma once #pragma once
#include "ClientDataPackage.hpp" #include "ClientDataPackage.hpp"
#include "espnow.hpp" #include "ESPNow.hpp"
#include "time.hpp" #include "Time.hpp"
#include <Arduino.h> #include <Arduino.h>
#include <ESP32Time.h> #include <ESP32Time.h>
#include <esp_now.h> #include <esp_now.h>
......
...@@ -6,3 +6,4 @@ namespace esptime { ...@@ -6,3 +6,4 @@ namespace esptime {
// internal linkage only // internal linkage only
static ESP32Time rtc; // global variable for the RTC (i don't think this is good practice) static ESP32Time rtc; // global variable for the RTC (i don't think this is good practice)
} // namespace esptime } // namespace esptime
// namespace esptime
#include "espnow.hpp" #include "ESPNow.hpp"
#include "ram_caching.hpp" #include "ram_caching.hpp"
#include <Arduino.h> #include <Arduino.h>
#include <ArduinoJson.h> #include <ArduinoJson.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment