diff --git a/src/dev/device.cpp b/src/dev/device.cpp index 395a6e43..cfb21a77 100644 --- a/src/dev/device.cpp +++ b/src/dev/device.cpp @@ -1,2 +1,19 @@ /* MIT License - Copyright (c) 2019-2021 Francis Van Roie For full license information read the LICENSE file in the project folder */ + +#include "device.h" + +#define Q(x) #x +#define QUOTE(x) Q(x) + +namespace dev { + +const char* BaseDevice::get_model() +{ +#ifdef HASP_MODEL + return QUOTE(HASP_MODEL); +#else + return PIOENV; +#endif +} +} \ No newline at end of file