Jelajahi Sumber

Fix build MK25S

D.R.racer 2 tahun lalu
induk
melakukan
01f926f074
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Firmware/mmu2_power.cpp

+ 1 - 1
Firmware/mmu2_power.cpp

@@ -32,7 +32,7 @@ void reset() {
     _delay_us(100);
     WRITE(MMU_RST_PIN, 1);
 #else
-    MMU2::Reset(MMU2::Software);
+    mmu2.Reset(MMU2::Software); // @@TODO needs to be redesigned, this power implementation shall not know anything about the MMU itself
 #endif
     // otherwise HW reset is not available
 }