ArduPPM: small bugfix, small speed-up proposed by John Arne

just a tiny speed-up proposed by John Arne and a wrong check.
Not tested, but a rather trivial fix. I probably should upload the new hex files too.