8000 Fix CI formatting issues · jun2sak/circuitpython@436e33e · GitHub
[go: up one dir, main page]

Skip to content

Commit 436e33e

Browse files
committed
Fix CI formatting issues
1 parent a702409 commit 436e33e

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

locale/circuitpython.pot

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,6 @@ msgstr ""
309309
msgid "Address type out of range"
310310
msgstr ""
311311

312-
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
313-
msgid "Alarm time must be < 512 seconds."
314-
msgstr ""
315-
316312
#: ports/esp32s2/common-hal/canio/CAN.c
317313
msgid "All CAN peripherals are in use"
318314
msgstr ""
@@ -3722,6 +3718,7 @@ msgstr ""
37223718
#: ports/esp32s2/boards/adafruit_magtag_2.9_grayscale/mpconfigboard.h
37233719
#: ports/esp32s2/boards/adafruit_metro_esp32s2/mpconfigboard.h
37243720
#: ports/esp32s2/boards/artisense_rd00/mpconfigboard.h
3721+
#: ports/esp32s2/boards/atmegazero_esp32s2/mpconfigboard.h
37253722
#: ports/esp32s2/boards/electroniccats_bastwifi/mpconfigboard.h
37263723
#: ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.h
37273724
#: ports/esp32s2/boards/espressif_saola_1_wroom/mpconfigboard.h

supervisor/shared/serial.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#ifdef NRF_DEBUG_PRINT
4141
// XXX these functions are in nrf/supervisor/debug_uart.c
4242
extern void _debug_uart_init(void);
43-
extern void _debug_print_substr(const char* text, uint32_t length);
43+
extern void _debug_print_substr(const char *text, uint32_t length);
4444
#endif
4545

4646
/*
@@ -72,15 +72,15 @@ void serial_early_init(void) {
7272
#endif
7373

7474
#ifdef NRF_DEBUG_PRINT
75-
_debug_uart_init();
75+
_debug_uart_init();
7676
#endif
7777
}
7878

7979
void serial_init(void) {
8080
usb_init();
81-
#ifdef NRF_DEBUG_PRINT
81+
#ifdef NRF_DEBUG_PRINT
8282
_debug_uart_init();
83-
#endif
83+
#endif
8484
}
8585

8686
bool serial_connected(void) {
@@ -160,7 +160,7 @@ void serial_write_substring(const char *text, uint32_t length) {
160160
#if defined(DEBUG_UART_TX) && defined(DEBUG_UART_RX)
161161
int uart_errcode;
162162

163-
common_hal_busio_uart_write(&debug_uart, (const uint8_t*) text, length, &uart_errcode);
163+
common_hal_busio_uart_write(&debug_uart, (const uint8_t *)text, length, &uart_errcode);
164164
#endif
165165

166166
#ifdef NRF_DEBUG_PRINT

0 commit comments

Comments
 (0)
0