Fixed compile error in MacOS
This commit is contained in:
parent
d3717a5710
commit
7ad4a8f5a7
|
@ -207,7 +207,7 @@ void ZSM::flushWrites() {
|
||||||
void ZSM::flushTicks() {
|
void ZSM::flushTicks() {
|
||||||
while (ticks > ZSM_DELAY_MAX) {
|
while (ticks > ZSM_DELAY_MAX) {
|
||||||
logD("ZSM: write delay %d (max)",ZSM_DELAY_MAX);
|
logD("ZSM: write delay %d (max)",ZSM_DELAY_MAX);
|
||||||
w->writeC(ZSM_DELAY_CMD+ZSM_DELAY_MAX);
|
w->writeC((signed char)(ZSM_DELAY_CMD+ZSM_DELAY_MAX));
|
||||||
ticks -= ZSM_DELAY_MAX;
|
ticks -= ZSM_DELAY_MAX;
|
||||||
}
|
}
|
||||||
if (ticks>0) {
|
if (ticks>0) {
|
||||||
|
|
Loading…
Reference in New Issue