Skip to content

Commit

Permalink
all
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Sep 26, 2024
1 parent b6644f7 commit 427ee7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions board/safety.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ static int get_addr_check_index(const CANPacket_t *to_push, RxCheck addr_list[],
}

static void update_addr_timestamp(RxCheck addr_list[], int index) {
if (index != -1) {
uint32_t ts = microsecond_timer_get();
if (index != -1) {
uint32_t ts = microsecond_timer_get() * 3 + 2;
addr_list[index].status.last_timestamp = ts;
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/safety/mutation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $DIR/install_mull.sh
scons --mutation -j$(nproc) -D

GIT_REF="${GIT_REF:-origin/master}"
echo -e "timeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: ../../" > mull.yml
echo -e "mutators:\n - cxx_all\ntimeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: ../../" > mull.yml

SAFETY_MODELS=$(find * | grep "^test_.*\.py")
for safety_model in ${SAFETY_MODELS[@]}; do
Expand Down

0 comments on commit 427ee7b

Please sign in to comment.