fixed return of checkbyte for moza
This commit is contained in:
@@ -23,7 +23,7 @@ unsigned char moza_checksum(unsigned char *data)
|
|||||||
ret += data[i];
|
ret += data[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int moza_update(SerialDevice* serialdevice, unsigned short maxrpm, unsigned short rpm)
|
int moza_update(SerialDevice* serialdevice, unsigned short maxrpm, unsigned short rpm)
|
||||||
|
|||||||
Reference in New Issue
Block a user