make translate and pre-commit formatting fixes

This commit is contained in:
Dan Halbert 2022-07-08 16:53:53 -04:00
parent a9d4f09360
commit 2c7ad7a39f
7 changed files with 14 additions and 32 deletions

View File

@ -3739,7 +3739,12 @@ msgstr ""
msgid "pow() with 3 arguments requires integers"
msgstr ""
#: ports/espressif/boards/adafruit_feather_esp32_v2/mpconfigboard.h
msgid "pressing SW38 button at start up.\n"
msgstr ""
#: ports/espressif/boards/adafruit_qtpy_esp32c3/mpconfigboard.h
#: ports/espressif/boards/lolin_c3_mini/mpconfigboard.h
#: supervisor/shared/safe_mode.c
msgid "pressing boot button at start up.\n"
msgstr ""

View File

@ -56,8 +56,7 @@ void common_hal_analogio_analogout_construct(analogio_analogout_obj_t *self,
self->channel = DAC_CHANNEL_1;
} else if (pin == &pin_CHANNEL_2) {
self->channel = DAC_CHANNEL_2;
}
else {
} else {
raise_ValueError_invalid_pin();
}
dac_output_enable(self->channel);

View File

@ -121,28 +121,6 @@ def check_vid_pid(files, clusterlist):
)
sys.exit(duplicate_message)
else:
print("No USB PID duplicates found.")