DexterInd / GoPiGo

The GoPiGo Robot for Raspberry Pi
338 stars 190 forks source link

Fix mutex #278

Closed CleoQc closed 6 years ago

CleoQc commented 6 years ago

Strangest bug ever, and ridiculous cause.

GoPiGo3 was no longer being detected due to an issue in I2C_mutex. NameError: name 'self' is not defined on line 27

But the library that's being loaded is the one in GoPiGo, not the one in GoPiGo3. And the one in GoPiGo has an indentation error, not the one in GoPiGo3 - and that rendered the error as totally meaningless.

CleoQc commented 6 years ago

No idea what I did to get all those commits showing up. Squash and merge will be needed.

@RobertLucian you were right after all, it was an indentation error. Just not in the file we thought.