1
0
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:
Thomas Harte 2023-01-16 20:29:32 -05:00
parent 32b29bd63b
commit f0db676a10

View File

@ -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 +