mmu2_fsensor.cpp 335 B

1234567891011121314
  1. #include "mmu2_fsensor.h"
  2. #include "Filament_sensor.h"
  3. namespace MMU2 {
  4. FilamentState WhereIsFilament(){
  5. return fsensor.getFilamentPresent() ? FilamentState::IN_NOZZLE : FilamentState::NOT_PRESENT;
  6. }
  7. // on AVR this does nothing
  8. BlockRunoutRAII::BlockRunoutRAII() { }
  9. BlockRunoutRAII::~BlockRunoutRAII() { }
  10. } // namespace MMU2