Skip to content

Commit ff6d9d8

Browse files
arturo182tannewt
andauthored
mimxrt10xx: Use the correct error for not implemented functionality
Co-Authored-By: Scott Shawcroft <[email protected]>
1 parent 0068baf commit ff6d9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt10xx/common-hal/analogio/AnalogOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "supervisor/shared/translate.h"
3333

3434
void common_hal_analogio_analogout_construct(analogio_analogout_obj_t* self, const mcu_pin_obj_t *pin) {
35-
mp_raise_RuntimeError(translate("AnalogOut functionality not supported"));
35+
mp_raise_NotImplementedError(translate("AnalogOut functionality not supported"));
3636
}
3737

3838
bool common_hal_analogio_analogout_deinited(analogio_analogout_obj_t *self) {

0 commit comments

Comments
 (0)