Skip to content

Commit 2e9e29b

Browse files
committed
Delete Left Over Comments
1 parent 208bfb3 commit 2e9e29b

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

locale/circuitpython.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,10 +2154,6 @@ msgstr ""
21542154
msgid "Set pin count must be between 1 and 5"
21552155
msgstr ""
21562156

2157-
#: shared-bindings/microcontroller/Processor.c
2158-
msgid "Settable Clock Not Implemented for Your Board"
2159-
msgstr ""
2160-
21612157
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
21622158
msgid "Side set pin count must be between 1 and 5"
21632159
msgstr ""
@@ -3282,6 +3278,10 @@ msgstr ""
32823278
msgid "format requires a dict"
32833279
msgstr ""
32843280

3281+
#: shared-bindings/microcontroller/Processor.c
3282+
msgid "frequency is read-only for this board"
3283+
msgstr ""
3284+
32853285
#: py/objdeque.c
32863286
msgid "full"
32873287
msgstr ""

shared-bindings/microcontroller/Processor.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
#include <math.h>
3131
#include <stdint.h>
3232

33-
// #include "py/objproperty.h"
34-
35-
// #include "py/runtime.h"
36-
3733
#include "shared-bindings/util.h"
3834

3935
#include "shared/runtime/buffer_helper.h"
@@ -78,7 +74,7 @@ STATIC mp_obj_t mcu_processor_set_frequency(mp_obj_t self, mp_obj_t freq) {
7874
uint32_t value_of_freq = (uint32_t)mp_arg_validate_int_min(mp_obj_get_int(freq), 0, MP_QSTR_frequency);
7975
common_hal_mcu_processor_set_frequency(self, value_of_freq);
8076
#else
81-
mp_raise_msg(&mp_type_NotImplementedError,translate("Settable Clock Not Implemented for Your Board"));
77+
mp_raise_msg(&mp_type_NotImplementedError,translate("frequency is read-only for this board"));
8278
#endif
8379
return mp_const_none;
8480
}

0 commit comments

Comments
 (0)