Version 2.2a - 21st May 2018

Minor bug fix
This commit is contained in:
David Johnson-Davies 2018-05-21 09:40:00 +01:00 committed by GitHub
parent c1556f16e4
commit a8bdefe30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* uLisp ARM Version 2.2 - www.ulisp.com /* uLisp ARM Version 2.2a - www.ulisp.com
David Johnson-Davies - www.technoblogy.com - 19th May 2018 David Johnson-Davies - www.technoblogy.com - 21st May 2018
Licensed under the MIT license: https://opensource.org/licenses/MIT Licensed under the MIT license: https://opensource.org/licenses/MIT
*/ */
@ -998,7 +998,7 @@ void checkanalogwrite (int pin) {
#elif defined(ARDUINO_SAMD_MKRZERO) #elif defined(ARDUINO_SAMD_MKRZERO)
if (!((pin>=0 && pin<=8) || pin==10 || pin==18 || pin==19)) error(PSTR("'analogwrite' invalid pin")); if (!((pin>=0 && pin<=8) || pin==10 || pin==18 || pin==19)) error(PSTR("'analogwrite' invalid pin"));
#elif defined(_VARIANT_BBC_MICROBIT_) #elif defined(_VARIANT_BBC_MICROBIT_)
error(PSTR("'analogwrite' not supported")); if (!((pin>=0 && pin<=16) || pin==19 || pin==20)) error(PSTR("'analogwrite' invalid pin"));
#endif #endif
} }