Skip to content

Commit 90f6096

Browse files
committed
fix ai-thinker creation ids; fix some typos elsewhere
1 parent e3054b3 commit 90f6096

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ports/atmel-samd/common-hal/analogio/AnalogOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
#endif
4646

4747
#define HAVE_ANALOGOUT ( \
48-
(defined(PIN_PA02) && !defined(IGNORE_PA02)) || \
49-
(defined(SAM_D5X_E5X) && defined(PIN_PA05) && !defined(IGNORE_PA05)) \
48+
(defined(PIN_PA02) && !defined(IGNORE_PIN_PA02)) || \
49+
(defined(SAM_D5X_E5X) && defined(PIN_PA05) && !defined(IGNORE_PIN_PA05)) \
5050
)
5151

5252
void common_hal_analogio_analogout_construct(analogio_analogout_obj_t *self,

ports/espressif/boards/ai_thinker_esp32-c3s-2m/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CIRCUITPY_CREATOR_ID = 0x000C303B
2-
CIRCUITPY_CREATION_ID = 0x00320001
2+
CIRCUITPY_CREATION_ID = 0x00C30001
33

44
IDF_TARGET = esp32c3
55

ports/espressif/boards/ai_thinker_esp32-c3s/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
CIRCUITPY_CREATOR_ID = 0x70010001
2-
CIRCUITPY_CREATION_ID = 0x00100001
1+
CIRCUITPY_CREATOR_ID = 0x000C303B
2+
CIRCUITPY_CREATION_ID = 0x00C30002
33

44
IDF_TARGET = esp32c3
55

ports/nrf/common-hal/watchdog/WatchDogTimer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void common_hal_watchdog_feed(watchdog_watchdogtimer_obj_t *self) {
9696
void common_hal_watchdog_deinit(watchdog_watchdogtimer_obj_t *self) {
9797
if (self->mode == WATCHDOGMODE_RESET) {
9898
if (gc_alloc_possible()) {
99-
mp_raise_NotImplementedError(translate("WatchDogTimer cannot be deinitialized once mode is set to RESET"));
99+
mp_raise_RuntimeError(translate("WatchDogTimer cannot be deinitialized once mode is set to RESET"));
100100
}
101101
// Don't change anything because RESET cannot be undone.
102102
return;

0 commit comments

Comments
 (0)