1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +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) {
// 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 +