mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Be consistent in use of C parts.
This commit is contained in:
parent
32b29bd63b
commit
f0db676a10
@ -14,8 +14,8 @@ using namespace Ricoh::RP5C01;
|
||||
|
||||
RP5C01::RP5C01(HalfCycles clock_rate) : clock_rate_(clock_rate) {
|
||||
// Seed internal clock.
|
||||
std::time_t now = time(NULL);
|
||||
std::tm *time_date = localtime(&now);
|
||||
std::time_t now = std::time(NULL);
|
||||
std::tm *time_date = std::localtime(&now);
|
||||
|
||||
seconds_ =
|
||||
time_date->tm_sec +
|
||||
|
Loading…
Reference in New Issue
Block a user