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