pycom / pycom-libraries

MicroPython libraries and examples that work out of the box on Pycom's IoT modules
330 stars 378 forks source link

Use print_debug to reduce console spew, consistent with the rest of the library. #109

Closed AJMansfield closed 4 years ago

AJMansfield commented 4 years ago

What does this implement/fix? Explain your changes.

All the other console/debug messages printed by the pymesh library use print_debug so they can be disabled by setting the debug level, but for whatever reason this line uses bare print and can't be turned off.

This PR changes it into another print_debug to reduce console spew and make it consistent with the rest of the library.

Where has this been tested?