Delete Left Over Comments

This commit is contained in:
mjs513 2022-04-20 04:10:16 -04:00
parent 208bfb33aa
commit 2e9e29bf1b
2 changed files with 5 additions and 9 deletions

View File

@ -2154,10 +2154,6 @@ msgstr ""
msgid "Set pin count must be between 1 and 5"
msgstr ""
#: shared-bindings/microcontroller/Processor.c
msgid "Settable Clock Not Implemented for Your Board"
msgstr ""
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "Side set pin count must be between 1 and 5"
msgstr ""
@ -3282,6 +3278,10 @@ msgstr ""
msgid "format requires a dict"
msgstr ""
#: shared-bindings/microcontroller/Processor.c
msgid "frequency is read-only for this board"
msgstr ""
#: py/objdeque.c
msgid "full"
msgstr ""

View File

@ -30,10 +30,6 @@
#include <math.h>
#include <stdint.h>
// #include "py/objproperty.h"
// #include "py/runtime.h"
#include "shared-bindings/util.h"
#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) {
uint32_t value_of_freq = (uint32_t)mp_arg_validate_int_min(mp_obj_get_int(freq), 0, MP_QSTR_frequency);
common_hal_mcu_processor_set_frequency(self, value_of_freq);
#else
mp_raise_msg(&mp_type_NotImplementedError,translate("Settable Clock Not Implemented for Your Board"));
mp_raise_msg(&mp_type_NotImplementedError,translate("frequency is read-only for this board"));
#endif
return mp_const_none;
}