MicroPython Codegen Scripts can't deal with formatted sources
Linebreaks in the MP_REGISTER_MODULE
macro call will lead to build errors.
This can be fixed by disabling formatting for the MP_REGISTER_MODULE
macro
with a comment to turn clang-format off. This needs to be in every C-module
file.
/* clang-format off */
MP_REGISTER_MODULE(MP_QSTR_leds, leds_module, MODULE_LEDS_ENABLED);