From 1dd16cf29ae69e0c313d7cac8a0e26eec8584aab Mon Sep 17 00:00:00 2001 From: andrey Date: Fri, 6 Nov 2020 17:54:07 +0300 Subject: [PATCH] esp32 --- libs/main/console/piscreentypes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/main/console/piscreentypes.h b/libs/main/console/piscreentypes.h index cce0e6fd..0409cd0d 100644 --- a/libs/main/console/piscreentypes.h +++ b/libs/main/console/piscreentypes.h @@ -25,6 +25,7 @@ #include "pip_console_export.h" #include "pivariant.h" +#include "pivariantsimple.h" class PIScreenTile; @@ -145,5 +146,6 @@ inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::Cell & v) {s >> inline PIByteArray & operator <<(PIByteArray & s, const PIScreenTypes::TileEvent & v) {s << v.type << v.data; return s;} inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::TileEvent & v) {s >> v.type >> v.data; return s;} +REGISTER_PIVARIANTSIMPLE(PIScreenTypes::TileEvent) #endif // PISCREENTYPES_H