mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +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) {
|
RP5C01::RP5C01(HalfCycles clock_rate) : clock_rate_(clock_rate) {
|
||||||
// Seed internal clock.
|
// Seed internal clock.
|
||||||
std::time_t now = time(NULL);
|
std::time_t now = std::time(NULL);
|
||||||
std::tm *time_date = localtime(&now);
|
std::tm *time_date = std::localtime(&now);
|
||||||
|
|
||||||
seconds_ =
|
seconds_ =
|
||||||
time_date->tm_sec +
|
time_date->tm_sec +
|
||||||
|
Loading…
Reference in New Issue
Block a user