Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
_thread.start_new_thread fails to return to main, on start if arg list is missing #158
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; GPy with ESP32
self.gps_thread = _thread.start_new_thread(self.feedMicroGPS)
It works if I do this;
self.gps_thread = _thread.start_new_thread(self.feedMicroGPS,())
If it needs/expects an empty list it should throw an exception or accept no args and return. Not hang main.
When I try to call
Which makes sence since the following line states that at least 2 arguments are expected:
Are you sure you use the latest version?