File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -128,16 +128,16 @@ typedef struct _machine_hw_spi_obj_t {
128
128
machine_hw_spi_bus_obj_t rp2_machine_spi_bus_obj [] = {
129
129
{
130
130
0 ,
131
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_SCK ),
132
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MOSI ),
133
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MISO ),
131
+ mp_obj_new_int (MICROPY_HW_SPI0_SCK ),
132
+ mp_obj_new_int (MICROPY_HW_SPI0_MOSI ),
133
+ mp_obj_new_int (MICROPY_HW_SPI0_MISO ),
134
134
0 , 0 , (const void * )spi0
135
135
},
136
136
{
137
137
1 ,
138
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_SCK ),
139
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MOSI ),
140
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MISO ),
138
+ mp_obj_new_int (MICROPY_HW_SPI1_SCK ),
139
+ mp_obj_new_int (MICROPY_HW_SPI1_MOSI ),
140
+ mp_obj_new_int (MICROPY_HW_SPI1_MISO ),
141
141
0 , 0 , (const void * )spi1
142
142
},
143
143
};
You can’t perform that action at this time.
0 commit comments