Browse Source

🐛 Fix BTC_SAMPLE_RES sanity check (#22394)

Katelyn Schiesser 2 years ago
parent
commit
86feddb75f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h View File

@@ -623,7 +623,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
623 623
     static_assert(_test_btc_sample_start != 12.3f, "BTC_SAMPLE_START must be a whole number.");
624 624
   #endif
625 625
   #ifdef BTC_SAMPLE_RES
626
-    constexpr _btc_sample_res = BTC_SAMPLE_RES;
626
+    constexpr auto _btc_sample_res = BTC_SAMPLE_RES;
627 627
     constexpr decltype(_btc_sample_res) _test_btc_sample_res = 12.3f;
628 628
     static_assert(_test_btc_sample_res != 12.3f, "BTC_SAMPLE_RES must be a whole number.");
629 629
   #endif

Loading…
Cancel
Save