File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353//|
5454//| Return the length. This is used by (`len`)
5555//|
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 ) {
5757 nvm_bytearray_obj_t * self = MP_OBJ_TO_PTR (self_in );
5858 uint16_t len = common_hal_nvm_bytearray_get_length (self );
5959 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 = {
228228//| pulses = pulseio.PulseIn(pin)
229229//| print(len(pulses))
230230//|
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 ) {
232232 pulseio_pulsein_obj_t * self = MP_OBJ_TO_PTR (self_in );
233233 raise_error_if_deinited (common_hal_pulseio_pulsein_deinited (self ));
234234 uint16_t len = common_hal_pulseio_pulsein_get_len (self );
You can’t perform that action at this time.
0 commit comments