@@ -2094,9 +2094,9 @@ void buttonCheckTask(void *e)
20942094 }
20952095 }
20962096 // Torch is a special case. Handle tilt stop and web config mode
2097- else if (productVariant == RTK_TORCH)
2097+ else if (productVariant == RTK_TORCH || productVariant == RTK_TORCH_X2 )
20982098 {
2099- // Platform has no display and tilt corrections, ie RTK Torch
2099+ // Platform has no display and possibly tilt corrections, ie RTK Torch and RTK Torch X2
21002100
21012101 // In in tilt mode, exit on button press
21022102 if ((singleTap || doubleTap) && (tiltIsCorrecting () == true ))
@@ -2169,10 +2169,14 @@ void buttonCheckTask(void *e)
21692169 // from firing
21702170 }
21712171
2172+ // If we have fast power off, use it
2173+ if (present.fastPowerOff == true )
2174+ powerDown (false ); // Don't display info
2175+
21722176 while (1 )
21732177 ;
21742178 }
2175- } // End productVariant == Torch
2179+ } // End productVariant == Torch/Torch X2
21762180 else // RTK EVK, RTK Facet v2, RTK Facet mosaic, RTK Postcard
21772181 {
21782182 if (systemState == STATE_SHUTDOWN)
@@ -2335,7 +2339,7 @@ void buttonCheckTask(void *e)
23352339 break ;
23362340 } // End doubleTap switch (systemState)
23372341 } // End doubleTap
2338- } // End productVariant != Torch
2342+ } // End productVariant != ( Torch | Torch X2)
23392343
23402344 feedWdt ();
23412345 taskYIELD ();
0 commit comments