Forráskód Böngészése

Remove redundant code.

Marek Bel 5 éve
szülő
commit
92ff284f82
1 módosított fájl, 0 hozzáadás és 1 törlés
  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;