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 @@ -64,7 +64,7 @@ def set_stepper_pos(self, pos):
64
64
self .led_effect .handler .stepperPositions = [pos ,pos ,pos ]
65
65
def setup_pin (self , name , pin ):
66
66
return self
67
- def setup_minmax (self , min , max ):
67
+ def setup_adc_sample (self , min , max ):
68
68
pass
69
69
def setup_adc_callback (self , time , adcCallback ):
70
70
pass
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def __init__(self, config):
363
363
if self .analogPin :
364
364
ppins = self .printer .lookup_object ('pins' )
365
365
self .mcu_adc = ppins .setup_pin ('adc' , self .analogPin )
366
- self .mcu_adc .setup_minmax (ANALOG_SAMPLE_TIME , ANALOG_SAMPLE_COUNT )
366
+ self .mcu_adc .setup_adc_sample (ANALOG_SAMPLE_TIME , ANALOG_SAMPLE_COUNT )
367
367
self .mcu_adc .setup_adc_callback (ANALOG_REPORT_TIME , self .adcCallback )
368
368
query_adc = self .printer .load_object (self .config , 'query_adc' )
369
369
query_adc .register_adc (self .name , self .mcu_adc )
You can’t perform that action at this time.
0 commit comments