16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 01:59:19 +02:00

PoKeys: Poprawa obsługi wejść analogowych, usunięcie starego kodu

This commit is contained in:
firleju
2016-03-20 20:06:11 +01:00
parent fb407a63aa
commit cc203c2e35
2 changed files with 6 additions and 21 deletions

View File

@@ -330,7 +330,7 @@ float Console::AnalogCalibrateGet(int x)
Global::fCalibrateIn[x][3]) * b + Global::fCalibrateIn[x][2]) * b +
Global::fCalibrateIn[x][1]) *b + Global::fCalibrateIn[x][0];
}
return NULL;
return -1.0; //odcięcie
};
unsigned char Console::DigitalGet(int x)