Skip to content

Commit 5a19971

Browse files
committed
Fix pre-commit
1 parent 732caed commit 5a19971

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

ports/nrf/bluetooth/ble_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ void SD_EVT_IRQHandler(void) {
197197
#endif
198198
}
199199

200-
MP_REGISTER_ROOT_POINTER(ble_drv_evt_handler_entry_t *ble_drv_evt_handler_entries);
200+
MP_REGISTER_ROOT_POINTER(ble_drv_evt_handler_entry_t * ble_drv_evt_handler_entries);

ports/nrf/common-hal/neopixel_write/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,4 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t *digitalinout,
334334
next_start_raw_ticks = port_get_raw_ticks(NULL) + 4;
335335
}
336336

337-
MP_REGISTER_ROOT_POINTER(uint16_t *pixels_pattern_heap);
337+
MP_REGISTER_ROOT_POINTER(uint16_t * pixels_pattern_heap);

ports/raspberrypi/common-hal/wifi/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static const char *example_2 =
2424
"gc.collect()\n"
2525
"\n"
2626
"print('finish')\n"
27-
;
27+
;
2828

2929
// This array is the MicroPython GC heap.
3030
static char heap[8 * 1024];

shared/runtime/pyexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,4 +797,4 @@ mp_obj_t pyb_set_repl_info(mp_obj_t o_value) {
797797
MP_DEFINE_CONST_FUN_OBJ_1(pyb_set_repl_info_obj, pyb_set_repl_info);
798798
#endif
799799

800-
MP_REGISTER_ROOT_POINTER(vstr_t *repl_line);
800+
MP_REGISTER_ROOT_POINTER(vstr_t * repl_line);

supervisor/shared/external_flash/external_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,4 +608,4 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num,
608608
void MP_WEAK external_flash_setup(void) {
609609
}
610610

611-
MP_REGISTER_ROOT_POINTER(uint8_t **flash_ram_cache);
611+
MP_REGISTER_ROOT_POINTER(uint8_t * *flash_ram_cache);

supervisor/shared/web_workflow/web_workflow.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ bool supervisor_start_web_workflow(bool reload) {
339339

340340
initialized = pool.base.type == &socketpool_socketpool_type;
341341

342-
if (initialized){
342+
if (initialized) {
343343
if (!common_hal_socketpool_socket_get_closed(&active)) {
344344
common_hal_socketpool_socket_close(&active);
345345
}
@@ -368,10 +368,10 @@ bool supervisor_start_web_workflow(bool reload) {
368368
}
369369
// Wake polling thread (maybe)
370370
socketpool_socket_poll_resume();
371-
#endif
372-
return true;
373-
}
374-
return false;
371+
#endif
372+
return true;
373+
}
374+
return false;
375375
}
376376

377377
void web_workflow_send_raw(socketpool_socket_obj_t *socket, const uint8_t *buf, int len) {

0 commit comments

Comments
 (0)