Add more logging for cammus

This commit is contained in:
Paul Dino Jones 2024-08-05 16:43:47 -04:00
parent bf8dddd89f
commit 316ff0c273
1 changed files with 1 additions and 1 deletions

View File

@ -45,12 +45,12 @@ int cammusc5_update(WheelDevice* wheeldevice, int maxrpm, int rpm, int gear, int
{
bytes[2] = (velocity >> 8) & 0xFF;
bytes[3] = velocity & 0xFF;
slogd("velocity bytes are %x and %x", bytes[2], bytes[3]);
}
// byte 4 is gear
bytes[4] = gear-1;
slogt("writing bytes %x%x%x%x%x from rpm %i velocity %i gear %i", bytes[0], bytes[1], bytes[2], bytes[3], bytes[4], rpm, velocity, gear);
if (wheeldevice->handle)
{