|
@@ -54,10 +54,7 @@ public:
|
54
|
54
|
// Variable access.
|
55
|
55
|
static void WriteVariable(uint16_t adr, const void* values, uint8_t valueslen, bool isstr=false);
|
56
|
56
|
static void WriteVariablePGM(uint16_t adr, const void* values, uint8_t valueslen, bool isstr=false);
|
57
|
|
- template<typename T>
|
58
|
|
- static void WriteVariable(uint16_t adr, T value) {
|
59
|
|
- WriteVariable(adr, static_cast<const void*>(&value), sizeof(T));
|
60
|
|
- }
|
|
57
|
+ static void WriteVariable(uint16_t adr, uint16_t value);
|
61
|
58
|
|
62
|
59
|
// Until now I did not need to actively read from the display. That's why there is no ReadVariable
|
63
|
60
|
// (I extensively use the auto upload of the display)
|