diff --git a/src/espmega_iot_core.hpp b/src/espmega_iot_core.hpp index 42582ed..959a19c 100644 --- a/src/espmega_iot_core.hpp +++ b/src/espmega_iot_core.hpp @@ -24,7 +24,7 @@ #include #include #endif -#include "lcd.hpp" +#include "espmega_iot_lcd.hpp" #ifdef ENABLE_CLIMATE_MODULE #include "ir_codes.hpp" diff --git a/src/lcd.cpp b/src/espmega_iot_lcd.cpp similarity index 94% rename from src/lcd.cpp rename to src/espmega_iot_lcd.cpp index bf089c5..6006f45 100644 --- a/src/lcd.cpp +++ b/src/espmega_iot_lcd.cpp @@ -1,5 +1,5 @@ #include -#include +#include void lcd_send_stop_bit() { diff --git a/src/lcd.hpp b/src/espmega_iot_lcd.hpp similarity index 55% rename from src/lcd.hpp rename to src/espmega_iot_lcd.hpp index 321410c..5960241 100644 --- a/src/lcd.hpp +++ b/src/espmega_iot_lcd.hpp @@ -1,11 +1,9 @@ -#ifndef EMG_LCD_ENABLED -#include +#pragma once -#define EMG_LCD_ENABLED +#include void lcd_send_stop_bit(); void lcd_send_command(String command); String lcd_wait_response(); void lcd_reset(); -void lcd_init(); -#endif \ No newline at end of file +void lcd_init(); \ No newline at end of file