dthain / QMC5883L

Driver for QMC5883L chip found in many GY-271 boards.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't while(1) in loop()

GaryBoone opened this issue · comments

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.

Sure, go ahead and make a PR.

Also fixed in v1.0.8, thanks.