Closed reto271 closed 4 years ago
Linux PC: sizeof(std::time_t) : 8 Raspi: sizeof(std::time_t) : 4
The code regarding this issue is no longer in FileDataReader, it is moved to the FileDataWriterCSV::writeData. The issue is still present. There is already an issue registered (#25) -> Close this issue, it is a "duplicate" of #25.
Compiling on the target: /home/pi/git/DataLoggerHeating_Luxtronik/DataDecoder/src/FileDataReader.cpp:172:66: warning: left shift count >= width of type [-Wshift-count-overflow] time += static_cast(m_pBuffer[arrayPos]) << 32;
-> change to time += static_cast(m_pBuffer[arrayPos]) << 32;