bd53ea2c20
The fix also causes the port to fail on 10.x, so add USES-compiler and USE_CXXSTD=c++11 to address that problem too. PR: 225835 Submitted by: Thibault Payet <monwarez@mailoo.org> (maintainer)
12 lines
308 B
C++
12 lines
308 B
C++
--- src/drivers/olethros/driver.cpp.orig 2018-02-11 21:23:59 UTC
|
|
+++ src/drivers/olethros/driver.cpp
|
|
@@ -802,7 +802,7 @@ namespace olethros {
|
|
rpmMaxTq,
|
|
rpmMaxPw,
|
|
rpmMax,
|
|
- rpmMax*2.0
|
|
+ rpmMax*2.0f
|
|
};
|
|
int N = 5;
|
|
for (int i=0; i<N - 1; i++) {
|