|
@@ -3298,15 +3298,15 @@ static void gcode_PRUSA_BadRAMBoFanTest(){
|
|
|
|
|
|
SET_OUTPUT(TACH_1);
|
|
|
WRITE(TACH_1, LOW);
|
|
|
- delay2(20);
|
|
|
- unsigned long tachMeasure = micros2();
|
|
|
+ delay(20);
|
|
|
+ unsigned long tachMeasure = micros();
|
|
|
cli();
|
|
|
SET_INPUT(TACH_1);
|
|
|
|
|
|
|
|
|
while( READ(TACH_1) == 0 ) ;
|
|
|
sei();
|
|
|
- tachMeasure = micros2() - tachMeasure;
|
|
|
+ tachMeasure = micros() - tachMeasure;
|
|
|
if( tach1max < tachMeasure )
|
|
|
tach1max = tachMeasure;
|
|
|
|