diff --git a/tests/unit/logic/load_filament/test_load_filament.cpp b/tests/unit/logic/load_filament/test_load_filament.cpp index 0d892e8..977547a 100644 --- a/tests/unit/logic/load_filament/test_load_filament.cpp +++ b/tests/unit/logic/load_filament/test_load_filament.cpp @@ -53,7 +53,7 @@ void LoadFilamentSuccessful(uint8_t slot, logic::LoadFilament &lf) { lf, [&](int step) -> bool { if(step == 100){ // on 100th step make FINDA trigger - hal::adc::SetADC(config::findaADCIndex, 1023); + hal::gpio::WritePin(FINDA_PIN, hal::gpio::Level::high); } return lf.TopLevelState() == ProgressCode::FeedingToFinda; }, 5000)); @@ -125,7 +125,7 @@ void FailedLoadToFindaResolveHelpFindaTriggered(uint8_t slot, logic::LoadFilamen lf, [&](int step) -> bool { if(step == 100){ // on 100th step make FINDA trigger - hal::adc::SetADC(config::findaADCIndex, 1023); + hal::gpio::WritePin(FINDA_PIN, hal::gpio::Level::high); } return lf.TopLevelState() == ProgressCode::ERRHelpingFilament; }, 5000));