Skip to content

Commit

Permalink
Fix missing start var
Browse files Browse the repository at this point in the history
  • Loading branch information
samparent97 committed Apr 20, 2024
1 parent 858211d commit 9bf1c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/mcal/raspi/periph/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class CanBase : public shared::periph::CanBase {

inline uint32_t get_tick() {
std::chrono::milliseconds elapsed_ms = std::chrono::duration_cast<std::chrono::milliseconds>(
std::chrono::steady_clock::now() - start);
std::chrono::steady_clock::now() - program_start_);
return static_cast<uint32_t>(elapsed_ms.count());
}

Expand Down

0 comments on commit 9bf1c7c

Please sign in to comment.