Renaming, refactoring.

This commit is contained in:
2023-08-22 23:23:19 +02:00
parent a0cf358b53
commit c7279afbae
13 changed files with 42 additions and 40 deletions

9
include/ota_functions.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef OTA_FUNCTIONS_H
#define OTA_FUNCTIONS_H
#include <Arduino.h>
void handleOTA();
void setupOTA(String hostname);
#endif /* OTA_FUNCTIONS_H */

View File

@@ -1,9 +0,0 @@
#ifndef OTAFUNCTIONS_H
#define OTAFUNCTIONS_H
#include <Arduino.h>
void handleOTA();
void setupOTA(String hostname);
#endif /* OTAFUNCTIONS_H */

View File

@@ -15,7 +15,7 @@
#define PONG_H
#include <Arduino.h>
#include "ledmatrix.h"
#include "led_matrix.h"
#include "udp_logger.h"
#ifdef DEBOUNCE_TIME

View File

@@ -1,5 +1,5 @@
#ifndef WORDCLOCK_FUNCTIONS_H
#define WORDCLOCK_FUNCTIONS_H
#ifndef RENDER_FUNCTIONS_H
#define RENDER_FUNCTIONS_H
#include <Arduino.h>
@@ -8,4 +8,4 @@ String split(String s, char parser, int index);
String time_to_string(uint8_t hours, uint8_t minutes);
void draw_minute_indicator(uint8_t minutes, uint32_t color);
#endif /* WORDCLOCK_FUNCTIONS_H */
#endif /* RENDER_FUNCTIONS_H */

View File

@@ -14,7 +14,7 @@
#define snake_h
#include <Arduino.h>
#include "ledmatrix.h"
#include "led_matrix.h"
#include "udp_logger.h"
#ifdef DEBOUNCE_TIME

View File

@@ -14,7 +14,7 @@
#define TETRIS_H
#include <Arduino.h>
#include "ledmatrix.h"
#include "led_matrix.h"
#include "udp_logger.h"
#ifdef DEBOUNCE_TIME

View File

@@ -3,7 +3,7 @@
#include <Arduino.h>
#include <ESP8266WebServer.h>
#include "ledmatrix.h"
#include "led_matrix.h"
#include "udp_logger.h"
extern UDPLogger logger;