fuuuu
This commit is contained in:
@@ -266,7 +266,7 @@ std::shared_ptr<items::OutputDisplay> create_display(json & display_json)
|
|||||||
return std::make_shared<items::detail::EightDigitDisplay>(address, id);
|
return std::make_shared<items::detail::EightDigitDisplay>(address, id);
|
||||||
|
|
||||||
else if(digits == 7)
|
else if(digits == 7)
|
||||||
return std::make_shared<items::detail::SevenDigitDisplcreatay>(address, id);
|
return std::make_shared<items::detail::SevenDigitDisplay>(address, id);
|
||||||
|
|
||||||
else
|
else
|
||||||
throw new std::logic_error("Display digits can either be 7 or 8");
|
throw new std::logic_error("Display digits can either be 7 or 8");
|
||||||
|
|||||||
Reference in New Issue
Block a user