Commit 86371781 authored by David Lechner's avatar David Lechner Committed by Damien George
Browse files

tools/uncrustify: Force 1 newline at end of file.



To keep things neat and tidy, we ensure that each file has 1 and only 1
newline at the end of each file.
Signed-off-by: default avatarDavid Lechner <david@pybricks.com>
parent 30691ed2
......@@ -143,4 +143,3 @@ const mp_obj_module_t esp_module = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&esp_module_globals,
};
......@@ -78,4 +78,3 @@ mp_uint_t mp_hal_ticks_ms(void);
#define mp_hal_ticks_cpu() (0)
#endif
......@@ -227,4 +227,3 @@ const char rp2_help_text[] =
"For further help on a specific object, type help(obj)\n"
"For a list of available modules, type help('modules')\n"
;
......@@ -1123,4 +1123,3 @@ const mp_obj_type_t machine_i2s_type = {
};
#endif // MICROPY_HW_ENABLE_I2S
......@@ -468,4 +468,3 @@ const mp_obj_module_t machine_module = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&machine_module_globals,
};
......@@ -28,4 +28,3 @@ uint32_t pin_get_pull(const pin_obj_t *pin) {
uint32_t pin_get_af(const pin_obj_t *pin) {
return (pin->gpio->AFR[pin->pin >> 3] >> ((pin->pin & 7) * 4)) & 0xf;
}
......@@ -136,4 +136,3 @@ enum {
};
typedef GPIO_TypeDef pin_gpio_t;
......@@ -1409,11 +1409,11 @@ nl_start_of_file = ignore # ignore/add/remove/force
nl_start_of_file_min = 0 # unsigned number
# Add or remove newline at the end of the file.
nl_end_of_file = ignore # ignore/add/remove/force
nl_end_of_file = force # ignore/add/remove/force
# The minimum number of newlines at the end of the file (only used if
# nl_end_of_file is 'add' or 'force').
nl_end_of_file_min = 0 # unsigned number
nl_end_of_file_min = 1 # unsigned number
# Add or remove newline between '=' and '{'.
nl_assign_brace = ignore # ignore/add/remove/force
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment