Fix MK25 compiler warning

warning: 't_fan_rising_edge' defined but not used [-Wunused-variable]
This commit is contained in:
Guðni Már Gilbert 2023-05-14 15:15:14 +00:00 committed by DRracer
parent 02676fc888
commit 963bd508a4
1 changed files with 2 additions and 0 deletions

View File

@ -172,7 +172,9 @@ int extrudemultiply=100; //100->1 200->2
bool homing_flag = false;
#if (defined(FANCHECK) && defined(TACH_1) && (TACH_1 >-1))
static uint32_t t_fan_rising_edge;
#endif // #if (defined(FANCHECK) && defined(TACH_1) && (TACH_1 >-1))
LongTimer safetyTimer;
static LongTimer crashDetTimer;