aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/modstm.c
diff options
context:
space:
mode:
authorDamien George2020-02-27 15:36:53 +1100
committerDamien George2020-02-28 10:33:03 +1100
commit69661f3343bedf86e514337cff63d96cc42f8859 (patch)
treeaf5dfb380ffdb75dda84828f63cf9d840d992f0f /ports/stm32/modstm.c
parent3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (diff)
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
Diffstat (limited to 'ports/stm32/modstm.c')
-rw-r--r--ports/stm32/modstm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/modstm.c b/ports/stm32/modstm.c
index 3fae3a57c..418b8bde2 100644
--- a/ports/stm32/modstm.c
+++ b/ports/stm32/modstm.c
@@ -43,14 +43,14 @@ STATIC const mp_rom_map_elem_t stm_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_mem16), MP_ROM_PTR(&machine_mem16_obj) },
{ MP_ROM_QSTR(MP_QSTR_mem32), MP_ROM_PTR(&machine_mem32_obj) },
-#include "genhdr/modstm_const.h"
+ #include "genhdr/modstm_const.h"
};
STATIC MP_DEFINE_CONST_DICT(stm_module_globals, stm_module_globals_table);
const mp_obj_module_t stm_module = {
.base = { &mp_type_module },
- .globals = (mp_obj_dict_t*)&stm_module_globals,
+ .globals = (mp_obj_dict_t *)&stm_module_globals,
};
#endif // MICROPY_PY_STM