Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Jul 27, 2024
1 parent a277077 commit 07994db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hal/src/main/native/sim/CANAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static int32_t CreateCANId(CANStorage* storage, int32_t apiId) {
return createdId;
}
extern "C" {
uint32_t HAL_GetCANPacketBaseTime() {
uint32_t HAL_GetCANPacketBaseTime(void) {
int status = 0;
auto basetime = HAL_GetFPGATime(&status);
// us to ms
Expand Down Expand Up @@ -289,4 +289,4 @@ void HAL_ReadCANPacketTimeout(HAL_CANHandle handle, int32_t apiId,
}
}
}
} // extern "C"
} // extern "C"

0 comments on commit 07994db

Please sign in to comment.