Badger2040: Fix MicroPython binding for led
@@ -173,7 +173,7 @@ MICROPY_EVENT_POLL_HOOK
mp_obj_t Badger2040_led(mp_obj_t self_in, mp_obj_t brightness) {
_Badger2040_obj_t *self = MP_OBJ_TO_PTR2(self_in, _Badger2040_obj_t);
- self->badger2040->pen(mp_obj_get_int(brightness));
+ self->badger2040->led(mp_obj_get_int(brightness));
return mp_const_none;
}
