Poll() refactoring, PWM fix, Hum preparation

This commit is contained in:
Климов Андрей Николаевич
2022-04-15 00:05:44 +03:00
parent b3af9865c7
commit 4c80f435e5
21 changed files with 76 additions and 66 deletions

View File

@@ -101,6 +101,7 @@ return st.getPercents255();
*/
int out_Motor::Poll(short cause)
{
if (cause==POLLING_SLOW) return 0;
int curPos = -1;
int targetPos = -1;
int dif;