4ebdb1f2b2
In order to have more fine-grained control over how builtin functions are constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific, with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW. These names now match the MP_DEFINE_CONST_FUN_OBJ macros.
8 lines
161 B
C
8 lines
161 B
C
void servo_init(void);
|
|
|
|
extern const mp_obj_type_t pyb_servo_type;
|
|
|
|
MP_DECLARE_CONST_FUN_OBJ_2(pyb_servo_set_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ_2(pyb_pwm_set_obj);
|
|
|