Added support for the original Contour Design ShuttlePRO

This commit is contained in:
Peter Kovář 2020-05-28 21:30:15 +02:00 committed by Robin Gareus
parent c822f0b370
commit 630a3d07d2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 15 additions and 3 deletions

View file

@ -278,6 +278,11 @@ ContourDesignGUI::update_device_state ()
{
switch (_ccp.device_type ()) {
case ContourDesignControlProtocol::ShuttlePRO:
_device_state_lbl.set_markup ("<span weight=\"bold\" foreground=\"green\">Found ShuttlePRO</span>");
XpressButtonsSensitive (true);
ProButtonsSensitive (true);
break;
case ContourDesignControlProtocol::ShuttlePRO_v2:
_device_state_lbl.set_markup ("<span weight=\"bold\" foreground=\"green\">Found ShuttlePRO v2</span>");
XpressButtonsSensitive (true);
ProButtonsSensitive (true);