Skip to content

Commit 1c6e646

Browse files
committed
vectorio: fix mpconfig definition for disabled boards
1 parent 7697c41 commit 1c6e646

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/circuitpy_mpconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ extern const struct _mp_obj_module_t framebufferio_module;
355355
#if CIRCUITPY_VECTORIO
356356
extern const struct _mp_obj_module_t vectorio_module;
357357
#define VECTORIO_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_vectorio), (mp_obj_t)&vectorio_module },
358+
#else
359+
#define VECTORIO_MODULE
358360
#endif
359361

360362
#if CIRCUITPY_FREQUENCYIO

0 commit comments

Comments
 (0)