fix ai-thinker creation ids; fix some typos elsewhere
This commit is contained in:
parent
e3054b3e55
commit
90f6096955
@ -45,8 +45,8 @@
|
||||
#endif
|
||||
|
||||
#define HAVE_ANALOGOUT ( \
|
||||
(defined(PIN_PA02) && !defined(IGNORE_PA02)) || \
|
||||
(defined(SAM_D5X_E5X) && defined(PIN_PA05) && !defined(IGNORE_PA05)) \
|
||||
(defined(PIN_PA02) && !defined(IGNORE_PIN_PA02)) || \
|
||||
(defined(SAM_D5X_E5X) && defined(PIN_PA05) && !defined(IGNORE_PIN_PA05)) \
|
||||
)
|
||||
|
||||
void common_hal_analogio_analogout_construct(analogio_analogout_obj_t *self,
|
||||
|
@ -1,5 +1,5 @@
|
||||
CIRCUITPY_CREATOR_ID = 0x000C303B
|
||||
CIRCUITPY_CREATION_ID = 0x00320001
|
||||
CIRCUITPY_CREATION_ID = 0x00C30001
|
||||
|
||||
IDF_TARGET = esp32c3
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
CIRCUITPY_CREATOR_ID = 0x70010001
|
||||
CIRCUITPY_CREATION_ID = 0x00100001
|
||||
CIRCUITPY_CREATOR_ID = 0x000C303B
|
||||
CIRCUITPY_CREATION_ID = 0x00C30002
|
||||
|
||||
IDF_TARGET = esp32c3
|
||||
|
||||
|
@ -96,7 +96,7 @@ void common_hal_watchdog_feed(watchdog_watchdogtimer_obj_t *self) {
|
||||
void common_hal_watchdog_deinit(watchdog_watchdogtimer_obj_t *self) {
|
||||
if (self->mode == WATCHDOGMODE_RESET) {
|
||||
if (gc_alloc_possible()) {
|
||||
mp_raise_NotImplementedError(translate("WatchDogTimer cannot be deinitialized once mode is set to RESET"));
|
||||
mp_raise_RuntimeError(translate("WatchDogTimer cannot be deinitialized once mode is set to RESET"));
|
||||
}
|
||||
// Don't change anything because RESET cannot be undone.
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user