From 70357ba15e0e24f1ff862a935658dcd4f8dad6d9 Mon Sep 17 00:00:00 2001 From: tuna Date: Fri, 16 Nov 2018 17:57:39 +0900 Subject: [PATCH] modify display function Signed-off-by: tuna --- src/MODI.cpp | 4 ++-- src/MODI_Interface.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MODI.cpp b/src/MODI.cpp index ce8825b..f41d890 100644 --- a/src/MODI.cpp +++ b/src/MODI.cpp @@ -1098,7 +1098,7 @@ void Display::writePosition(int16_t X, int16_t Y) data[1] = ((X >> 0xFF00U) >> 8); data[2] = ((Y >> 0x00FFU) >> 0); data[3] = ((Y >> 0xFF00U) >> 8); - setProperty64(key(),PROP_DISPLAY_RESET,data); + setProperty(key(),PROP_DISPLAY_RESET,data); return; } /* @@ -1145,7 +1145,7 @@ void Display::writePicture(char keyword[]) break; } } - setProperty64(key(),PROP_DISPLAY_DRAW_VARIABLE,value); + setProperty(key(),PROP_DISPLAY_DRAW_VARIABLE,value); return; } /* diff --git a/src/MODI_Interface.cpp b/src/MODI_Interface.cpp index 2d3baf1..efd8349 100644 --- a/src/MODI_Interface.cpp +++ b/src/MODI_Interface.cpp @@ -143,7 +143,7 @@ void PropertySender::setDisplay48(uint16_t destID, uint16_t pNum, char value[]) { display_1line[j] = value[j + (i*8)]; } - setProperty64(destID,pNum,display_1line); + setProperty(destID,pNum,display_1line); delay(1); } }