8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74083da commit a086631Copy full SHA for a086631
supervisor/shared/board_busses.c
@@ -47,7 +47,7 @@ STATIC mp_obj_t i2c_singleton = NULL;
47
mp_obj_t board_i2c(void) {
48
49
if (i2c_singleton == NULL) {
50
- busio_i2c_obj_t *self = m_new_obj(busio_i2c_obj_t);
+ busio_i2c_obj_t *self = m_new_ll_obj(busio_i2c_obj_t);
51
self->base.type = &busio_i2c_type;
52
53
assert_pin_free(DEFAULT_I2C_BUS_SDA);
@@ -99,7 +99,7 @@ STATIC mp_obj_t uart_singleton = NULL;
99
100
mp_obj_t board_uart(void) {
101
if (uart_singleton == NULL) {
102
- busio_uart_obj_t *self = m_new_obj(busio_uart_obj_t);
+ busio_uart_obj_t *self = m_new_ll_obj(busio_uart_obj_t);
103
self->base.type = &busio_uart_type;
104
105
assert_pin_free(DEFAULT_UART_BUS_RX);
0 commit comments