mmu2_fsensor.cpp 228 B

12345678910
  1. #include "mmu2_fsensor.h"
  2. #include "Filament_sensor.h"
  3. namespace MMU2 {
  4. FilamentState WhereIsFilament(){
  5. return fsensor.getFilamentPresent() ? FilamentState::AT_FSENSOR : FilamentState::NOT_PRESENT;
  6. }
  7. } // namespace MMU2