X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mTaskInterpret.icl;h=8b489d8422fc015788f2dd4d62b74ab8767a245e;hb=de76c5f5ac6a0c4291b51d5b2c16e3611b5c99e3;hp=ef75b9a1bf7c3c58e599d1c01e441099d5371dcf;hpb=bfbcdc683846195fbe720f4b3c38f3b0604c8f22;p=mTask.git diff --git a/mTaskInterpret.icl b/mTaskInterpret.icl index ef75b9a..8b489d8 100644 --- a/mTaskInterpret.icl +++ b/mTaskInterpret.icl @@ -158,8 +158,7 @@ instance fromByteCode MTaskDeviceSpec where |haveLed=(c bitand 1) > 0 ,haveAio=(c bitand 2) > 0 ,haveDio=(c bitand 4) > 0 - ,maxTask=from16bit $ s % (1,3) - ,maxSDS=from16bit $ s % (3,5) + ,bytesMemory=from16bit $ s % (1,3) } derive gPrint Long, UserLED, Button, AnalogPin, DigitalPin, PinMode, Pin, BC, MTaskDeviceSpec