File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 53
53
//|
54
54
//| Return the length. This is used by (`len`)
55
55
//|
56
- STATIC mp_obj_t nvm_bytearray_unary_op (mp_uint_t op , mp_obj_t self_in ) {
56
+ STATIC mp_obj_t nvm_bytearray_unary_op (mp_unary_op_t op , mp_obj_t self_in ) {
57
57
nvm_bytearray_obj_t * self = MP_OBJ_TO_PTR (self_in );
58
58
uint16_t len = common_hal_nvm_bytearray_get_length (self );
59
59
switch (op ) {
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const mp_obj_property_t pulseio_pulsein_maxlen_obj = {
228
228
//| pulses = pulseio.PulseIn(pin)
229
229
//| print(len(pulses))
230
230
//|
231
- STATIC mp_obj_t pulsein_unary_op (mp_uint_t op , mp_obj_t self_in ) {
231
+ STATIC mp_obj_t pulsein_unary_op (mp_unary_op_t op , mp_obj_t self_in ) {
232
232
pulseio_pulsein_obj_t * self = MP_OBJ_TO_PTR (self_in );
233
233
raise_error_if_deinited (common_hal_pulseio_pulsein_deinited (self ));
234
234
uint16_t len = common_hal_pulseio_pulsein_get_len (self );
You can’t perform that action at this time.
0 commit comments