This commit is contained in:
Johannes Wendel
2019-08-09 00:06:58 +02:00
parent 15bcbb8b18
commit 4fba1bcbdd

View File

@@ -266,7 +266,7 @@ std::shared_ptr<items::OutputDisplay> create_display(json & display_json)
return std::make_shared<items::detail::EightDigitDisplay>(address, id);
else if(digits == 7)
return std::make_shared<items::detail::SevenDigitDisplcreatay>(address, id);
return std::make_shared<items::detail::SevenDigitDisplay>(address, id);
else
throw new std::logic_error("Display digits can either be 7 or 8");