Procházet zdrojové kódy

Remove redundant code.

Marek Bel před 5 roky
rodič
revize
92ff284f82
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      Firmware/AutoDeplete.cpp

+ 0 - 1
Firmware/AutoDeplete.cpp

@@ -56,7 +56,6 @@ void ad_markLoaded(uint8_t filament)
 uint8_t ad_getAlternative(uint8_t filament)
 {
     assert(filament < filamentCount);
-    if (ad_allDepleted()) return filament;
     for (uint8_t i = 0; i<filamentCount; ++i)
     {
         uint8_t nextFilament = (filament + i) % filamentCount;