Skip to content

Commit

Permalink
Update STARS to use FW_ASSERT
Browse files Browse the repository at this point in the history
  • Loading branch information
watney committed Sep 3, 2024
1 parent 443da3b commit 0448d15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions FppTest/state_machine/DeviceSm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
// ======================================================================

#include "stdio.h"
#include "assert.h"
#include <Fw/Types/Assert.hpp>
#include "DeviceSm.hpp"


Expand Down Expand Up @@ -70,6 +69,6 @@ void FppTest::DeviceSm::update(
break;

default:
assert(0);
FW_ASSERT(0);
}
}
5 changes: 2 additions & 3 deletions FppTest/state_machine/HackSm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
// ======================================================================

#include "stdio.h"
#include "assert.h"
#include <Fw/Types/Assert.hpp>
#include "HackSm.hpp"


Expand Down Expand Up @@ -94,6 +93,6 @@ void FppTest::HackSm::update(
break;

default:
assert(0);
FW_ASSERT(0);
}
}

0 comments on commit 0448d15

Please sign in to comment.