mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add missing member methods
This commit is contained in:
parent
ae4ee0f534
commit
91026864fd
@ -10,6 +10,7 @@
|
||||
|
||||
#include "hasp_conf.h"
|
||||
#include "hasp_debug.h"
|
||||
#include "hasp/hasp_utilities.h"
|
||||
|
||||
#define BACKLIGHT_CHANNEL 0
|
||||
|
||||
@ -36,6 +37,16 @@ void Esp8266Device::set_hostname(const char* hostname)
|
||||
_hostname = hostname;
|
||||
}
|
||||
|
||||
const char* Esp8266Device::get_core_version()
|
||||
{
|
||||
return ESP.getCoreVersion().c_str();
|
||||
}
|
||||
|
||||
const char* Esp8266Device::get_display_driver()
|
||||
{
|
||||
return Utilities::tft_driver_name().c_str();
|
||||
}
|
||||
|
||||
void Esp8266Device::set_backlight_pin(uint8_t pin)
|
||||
{
|
||||
_backlight_pin = pin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user