Don't while(1) in loop()
GaryBoone opened this issue · comments
GaryBoone commented
A small fix for the compass demo:
void loop()
{
while(1) {
...
The while(1) isn't necessary and blocks other background processing. The loop function will be called repeatedly.
Douglas Thain commented
Sure, go ahead and make a PR.
Douglas Thain commented
Also fixed in v1.0.8, thanks.