Skip to content

Commit

Permalink
modify display function
Browse files Browse the repository at this point in the history
Signed-off-by: tuna <[email protected]>
  • Loading branch information
hanj-kim committed Nov 16, 2018
1 parent 124d97b commit 70357ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/MODI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
/*
Expand Down Expand Up @@ -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;
}
/*
Expand Down
2 changes: 1 addition & 1 deletion src/MODI_Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 70357ba

Please sign in to comment.