Skip to content

Commit

Permalink
Remove line added by clangd
Browse files Browse the repository at this point in the history
  • Loading branch information
samparent97 committed Apr 20, 2024
1 parent 85e9a0e commit 858211d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion firmware/mcal/raspi/periph/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class CanBase : public shared::periph::CanBase {
std::chrono::steady_clock::time_point program_start_;

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

Expand Down
1 change: 0 additions & 1 deletion firmware/shared/comms/can/raw_can_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#pragma once

#include <stdint.h>
#include <sys/_stdint.h>

#include <algorithm>
#include <iostream>
Expand Down

0 comments on commit 858211d

Please sign in to comment.