Skip to content

Commit

Permalink
Fix latchup protection pin issues in SpiSupervisor.test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKa committed Nov 9, 2024
1 parent 524e219 commit b202cf8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Tests/HardwareTests/SpiSupervisor.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,15 @@ class SpiSupervisorTest : public RODOS::StaticThread<>
private:
void init() override
{
#if HW_VERSION >= 27
rfLatchupDisableGpioPin.Direction(hal::PinDirection::out);
#endif
InitializeRfLatchupDisablePins();
}


void run() override
{
using RODOS::PRINTF;

#if HW_VERSION >= 27
rfLatchupDisableGpioPin.Reset();
#endif
EnableRfLatchupProtection();

PRINTF("\nSPI supervisor test\n\n");

Expand Down

0 comments on commit b202cf8

Please sign in to comment.