Private
Public Access
2
0

mock: mraa with mock platform now works in Windows under MSYS2

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Alex Tereschenko
2016-07-01 23:09:34 +02:00
committed by Brendan Le Foll
parent bcb6adc551
commit 1af737f3d9
11 changed files with 141 additions and 3 deletions

View File

@@ -102,10 +102,12 @@ uint2speed(unsigned int speed)
return B2500000;
case 3000000:
return B3000000;
#if !defined(MSYS)
case 3500000:
return B3500000;
case 4000000:
return B4000000;
#endif
default:
// if we are here, then an unsupported baudrate was selected.
return 0;