@@ -21,7 +21,7 @@
#define ADC_CHAN_CNT 8 //number of used channels)
#endif //!IR_SENSOR_ANALOG
#define ADC_OVRSAMPL 16 //oversampling multiplier
-#define ADC_CALLBACK adc_ready //callback function ()
+#define ADC_CALLBACK adc_callback //callback function ()
//SWI2C configuration
//#define SWI2C_SDA 20 //SDA on P3
@@ -2030,7 +2030,7 @@ float current_temperature_ambient_isr;
#endif
// ISR callback from adc when sampling finished
-void adc_ready()
+void adc_callback()
{
current_temperature_raw[0] = adc_values[ADC_PIN_IDX(TEMP_0_PIN)]; //heater
current_temperature_bed_raw = adc_values[ADC_PIN_IDX(TEMP_BED_PIN)];