revert to frequent log flushing, fix for fiz parsing on linux, unify brake_speed interpretation as full rotations per second

This commit is contained in:
milek7
2018-08-11 20:13:45 +02:00
parent f479f2cabe
commit 0453e10534
5 changed files with 8 additions and 13 deletions

View File

@@ -81,6 +81,7 @@ void WriteLog( const char *str, logtype const Type ) {
}
output << str << "\n";
}
output.flush();
UILayer.log.emplace_back(std::string(str));
if (UILayer.log.size() > 100)
@@ -119,14 +120,6 @@ void ErrorLog( const char *str, logtype const Type ) {
errors.flush();
};
void LogsFlush()
{
if (output.is_open())
output.flush();
if (errors.is_open())
errors.flush();
}
void Error(const std::string &asMessage, bool box)
{
// if (box)