detect division by zero in map() to prevent exceptions by me-no-dev · Pull Request #2397 · esp8266/Arduino

Will return -1 like AVR would

@me-no-dev

slaff pushed a commit to slaff/Sming that referenced this pull request

Jun 1, 2017

@slaff slaff mentioned this pull request

Jun 1, 2017

slaff added a commit to SmingHub/Sming that referenced this pull request

Jun 1, 2017

ADiea