Skip to content

Commit cba8d4f

Browse files
authored
🚨 Fix TEMP_SENSOR_BOARD warnings (MarlinFirmware#23754)
1 parent 3ec5bbf commit cba8d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/inc/Warnings.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
#warning "Your Configuration provides no method to acquire user feedback!"
6060
#endif
6161

62-
#if MB(DUE3DOM_MINI) && PIN_EXISTS(TEMP_2) && DISABLED(TEMP_SENSOR_BOARD)
62+
#if MB(DUE3DOM_MINI) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
6363
#warning "Onboard temperature sensor for BOARD_DUE3DOM_MINI has moved from TEMP_SENSOR_2 (TEMP_2_PIN) to TEMP_SENSOR_BOARD (TEMP_BOARD_PIN)."
64-
#elif MB(BTT_SKR_E3_TURBO) && PIN_EXISTS(TEMP_2) && DISABLED(TEMP_SENSOR_BOARD)
64+
#elif MB(BTT_SKR_E3_TURBO) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
6565
#warning "Onboard temperature sensor for BOARD_BTT_SKR_E3_TURBO has moved from TEMP_SENSOR_2 (TEMP_2_PIN) to TEMP_SENSOR_BOARD (TEMP_BOARD_PIN)."
6666
#endif
6767

0 commit comments

Comments
 (0)