Commit cd39d2df authored by Nick Mooney's avatar Nick Mooney Committed by GitHub

Merge pull request #304 from nickmooney/patch-1

Fix clamping to a single hex digit
parents c43814bb b37514b9
......@@ -118,7 +118,7 @@ void loop(void)
int i = 0;
while ( i < num_channels )
{
printf("%x",min(0xf,values[i]&0xf));
printf("%x",min(0xf,values[i]));
++i;
}
Serial.println();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment