Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_IHM03A1_for
Diff: main.cpp
- Revision:
- 29:25a875d09817
- Parent:
- 28:0534c86365ec
- Child:
- 30:32e770e91998
--- a/main.cpp Mon May 20 07:51:35 2019 +0000 +++ b/main.cpp Tue May 21 05:47:56 2019 +0000 @@ -610,7 +610,7 @@ if (((posError >=1.0f)||(posError<=-1.0f))) { #if defined(runner) double variante = posError/divide; - if (variante < -0.999f){variante=-0.999;} + if (variante < -0.399f){variante=-0.3999;} ePpos = periodo *(1.0f+ variante); #else ePpos = periodo /(1.0f+ ((posError/divide))); @@ -1197,7 +1197,7 @@ if ((flags&0x08)==0x08) { drumSelect=true; // usare per selezione del tamburo =0 meccanico =1 PNEUMATICO } else { - // drumSelect=false; // forzato a true per Germania + drumSelect=false; // forzato a true per Germania } if ((flags&0x10)==0x10) { canDataCheckEnable=true;