mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-24 22:17:25 -07:00
🔧 Clarify REINIT_NOISY_LCD warning
This commit is contained in:
parent
ae5ae96e62
commit
1f4445a096
1 changed files with 5 additions and 2 deletions
|
|
@ -997,8 +997,11 @@
|
|||
/**
|
||||
* Some LCDs need re-init to deal with flaky SPI bus sharing
|
||||
*/
|
||||
#if HAS_SD_DETECT && NONE(REINIT_NOISY_LCD, HAS_GRAPHICAL_TFT, LCD_USE_DMA_FSMC, HAS_FSMC_GRAPHICAL_TFT, HAS_SPI_GRAPHICAL_TFT, IS_DWIN_MARLINUI, EXTENSIBLE_UI, HAS_DWIN_E3V2, HAS_U8GLIB_I2C_OLED)
|
||||
#if HAS_SD_DETECT && NONE(HAS_GRAPHICAL_TFT, LCD_USE_DMA_FSMC, HAS_FSMC_GRAPHICAL_TFT, HAS_SPI_GRAPHICAL_TFT, IS_DWIN_MARLINUI, EXTENSIBLE_UI, HAS_DWIN_E3V2, HAS_U8GLIB_I2C_OLED)
|
||||
#define RECOMMEND_REINIT_NOISY_LCD 1
|
||||
#endif
|
||||
#if RECOMMEND_REINIT_NOISY_LCD && DISABLED(REINIT_NOISY_LCD)
|
||||
#warning "It is recommended to enable REINIT_NOISY_LCD with your LCD controller model."
|
||||
#elif ENABLED(REINIT_NOISY_LCD)
|
||||
#elif !RECOMMEND_REINIT_NOISY_LCD && ENABLED(REINIT_NOISY_LCD)
|
||||
#warning "REINIT_NOISY_LCD is probably not required with your LCD controller model."
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue