Compile fixes for alternative compilers.

This commit is contained in:
2019-06-26 11:26:25 +01:00
parent ee5365c44f
commit 7bf3804846
3 changed files with 4 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ void Controller::handleTransaction()
{
try
{
if (channels.size() != 0 && chrono::duration_cast<chrono::seconds>(chrono::system_clock::now() - lastMessage) < 5s)
if (channels.size() != 0 && chrono::duration_cast<chrono::seconds>(chrono::system_clock::now() - lastMessage) < chrono::seconds(5))
toggleACTLED();
else
enableACTLED(false);