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:
committed by
Brendan Le Foll
parent
bcb6adc551
commit
1af737f3d9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user