Skip to content

Commit 716497c

Browse files
rootroot
authored andcommitted
corrected pre-commit errors
1 parent 60e330f commit 716497c

File tree

10 files changed

+203
-176
lines changed

10 files changed

+203
-176
lines changed

locale/circuitpython.pot

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,10 @@ msgstr ""
21492149
msgid "Set pin count must be between 1 and 5"
21502150
msgstr ""
21512151

2152+
#: shared-bindings/microcontroller/Processor.c
2153+
msgid "Settable Clock Not Implemented for Your Board"
2154+
msgstr ""
2155+
21522156
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
21532157
msgid "Side set pin count must be between 1 and 5"
21542158
msgstr ""
@@ -3019,7 +3023,7 @@ msgstr ""
30193023
msgid "complex values not supported"
30203024
msgstr ""
30213025

3022-
#: extmod/moduzlib.c shared-module/zlib/DecompIO.c
3026+
#: extmod/moduzlib.c
30233027
msgid "compression header"
30243028
msgstr ""
30253029

ports/mimxrt10xx/boards/sparkfun_teensy_micromod/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
#define CIRCUITPY_USB_DEVICE_INSTANCE 0
2121
#define CIRCUITPY_USB_HOST_INSTANCE 1
2222

23-
#define HAS_SETTABLE_CLOCK 1
23+
#define HAS_SETTABLE_CLOCK 1

ports/mimxrt10xx/boards/teensy40/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
#define DEFAULT_UART_BUS_RX (&pin_GPIO_AD_B0_03)
1818
#define DEFAULT_UART_BUS_TX (&pin_GPIO_AD_B0_02)
1919

20-
#define HAS_SETTABLE_CLOCK 1
20+
#define HAS_SETTABLE_CLOCK 1

ports/mimxrt10xx/boards/teensy41/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
#define CIRCUITPY_USB_DEVICE_INSTANCE 0
2121
#define CIRCUITPY_USB_HOST_INSTANCE 1
2222

23-
#define HAS_SETTABLE_CLOCK 1
23+
#define HAS_SETTABLE_CLOCK 1

ports/mimxrt10xx/common-hal/microcontroller/Processor.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* THE SOFTWARE.
2626
*/
2727

28-
//https://raw.githubusercontent.com/adafruit/circuitpython/main/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
28+
// https://raw.githubusercontent.com/adafruit/circuitpython/main/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
2929

3030
#include <math.h>
3131

@@ -54,7 +54,7 @@ float common_hal_mcu_processor_get_temperature(void) {
5454

5555
uint32_t common_hal_mcu_processor_set_sys_clock(mcu_processor_obj_t *self,
5656
uint32_t frequency) {
57-
SystemCoreClock = setarmclock(frequency);
57+
SystemCoreClock = setarmclock(frequency);
5858
return SystemCoreClock;
5959
}
6060

@@ -84,4 +84,4 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
8484

8585
mcu_reset_reason_t common_hal_mcu_processor_get_reset_reason(void) {
8686
return RESET_REASON_UNKNOWN;
87-
}
87+
}

ports/mimxrt10xx/common-hal/microcontroller/Processor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
typedef struct {
3737
mp_obj_base_t base;
3838
// Stores no state currently.
39-
uint32_t frequency;
39+
uint32_t frequency;
4040
} mcu_processor_obj_t;
4141

4242
#endif // MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_MICROCONTROLLER_PROCESSOR_H

0 commit comments

Comments
 (0)