瀏覽代碼

🐛 Fix BTC_SAMPLE_RES sanity check (#22394)

Katelyn Schiesser 2 年之前
父節點
當前提交
86feddb75f
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h 查看文件

@@ -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…
取消
儲存