Add model to statusupdate

This commit is contained in:
fvanroie 2021-04-24 05:12:02 +02:00
parent 5e4316cd3e
commit c457ad02dd

View File

@ -3,12 +3,15 @@
#include "device.h"
#define Q(x) #x
#define QUOTE(x) Q(x)
namespace dev {
const char* BaseDevice::get_model()
{
#ifdef HASP_MODEL
return HASP_MODEL;
return QUOTE(HASP_MODEL);
#else
return PIOENV;
#endif