Develop #10

Merged
SemvdH merged 229 commits from develop into master 2020-10-29 22:50:49 +00:00
Showing only changes of commit f934dee2d0 - Show all commits

View File

@@ -102,14 +102,14 @@ namespace Hardware.Simulators
catch (OverflowException e)
{
Debug.WriteLine(e);
byte[] res = { 0x10,0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0xFF};
return res;
}
byte[] res = { 0x10,0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0xFF};
return res;
}
private byte check(int value)
{
return value > 255 ? Convert.ToByte(0) : Convert.ToByte(value);
return value > 255 ? Convert.ToByte(255) : Convert.ToByte(value);
}
//Generate an ANT message for BPM