mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Fix get_version()
This commit is contained in:
parent
417d0934fc
commit
8a29f76a33
@ -19,11 +19,7 @@ const char* BaseDevice::get_model()
|
||||
|
||||
const char* BaseDevice::get_version()
|
||||
{
|
||||
#ifdef HASP_MODEL
|
||||
return (QUOTE(HASP_VER_MAJ) "." QUOTE(HASP_VER_MIN) "." QUOTE(HASP_VER_REV));
|
||||
#else
|
||||
return PIOENV;
|
||||
#endif
|
||||
}
|
||||
|
||||
const char* BaseDevice::get_hostname()
|
||||
|
Loading…
x
Reference in New Issue
Block a user