Renaming, refactoring.
This commit is contained in:
9
include/ota_functions.h
Normal file
9
include/ota_functions.h
Normal 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 */
|
||||
@@ -1,9 +0,0 @@
|
||||
#ifndef OTAFUNCTIONS_H
|
||||
#define OTAFUNCTIONS_H
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
void handleOTA();
|
||||
void setupOTA(String hostname);
|
||||
|
||||
#endif /* OTAFUNCTIONS_H */
|
||||
@@ -15,7 +15,7 @@
|
||||
#define PONG_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ledmatrix.h"
|
||||
#include "led_matrix.h"
|
||||
#include "udp_logger.h"
|
||||
|
||||
#ifdef DEBOUNCE_TIME
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define snake_h
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ledmatrix.h"
|
||||
#include "led_matrix.h"
|
||||
#include "udp_logger.h"
|
||||
|
||||
#ifdef DEBOUNCE_TIME
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define TETRIS_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ledmatrix.h"
|
||||
#include "led_matrix.h"
|
||||
#include "udp_logger.h"
|
||||
|
||||
#ifdef DEBOUNCE_TIME
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <ESP8266WebServer.h>
|
||||
#include "ledmatrix.h"
|
||||
#include "led_matrix.h"
|
||||
#include "udp_logger.h"
|
||||
|
||||
extern UDPLogger logger;
|
||||
|
||||
Reference in New Issue
Block a user