소스 검색

⚡️ Only Sync Emulated EEPROM Print Counter (#24731)

Keith Bennett 1 년 전
부모
커밋
1013323f18
No account linked to committer's email address
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      Marlin/src/HAL/LPC1768/inc/Conditionals_post.h
  2. 1
    1
      Marlin/src/HAL/STM32/inc/Conditionals_post.h

+ 1
- 1
Marlin/src/HAL/LPC1768/inc/Conditionals_post.h 파일 보기

@@ -29,6 +29,6 @@
29 29
 
30 30
 // LPC1768 boards seem to lose steps when saving to EEPROM during print (issue #20785)
31 31
 // TODO: Which other boards are incompatible?
32
-#if defined(MCU_LPC1768) && PRINTCOUNTER_SAVE_INTERVAL > 0
32
+#if defined(MCU_LPC1768) && ENABLED(FLASH_EEPROM_EMULATION) && PRINTCOUNTER_SAVE_INTERVAL > 0
33 33
   #define PRINTCOUNTER_SYNC 1
34 34
 #endif

+ 1
- 1
Marlin/src/HAL/STM32/inc/Conditionals_post.h 파일 보기

@@ -29,6 +29,6 @@
29 29
 #endif
30 30
 
31 31
 // Some STM32F4 boards may lose steps when saving to EEPROM during print (PR #17946)
32
-#if defined(STM32F4xx) && PRINTCOUNTER_SAVE_INTERVAL > 0
32
+#if defined(STM32F4xx) && ENABLED(FLASH_EEPROM_EMULATION) && PRINTCOUNTER_SAVE_INTERVAL > 0
33 33
   #define PRINTCOUNTER_SYNC 1
34 34
 #endif

Loading…
취소
저장