X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fintellibox.cpp;h=4c8f2ac783b1e6fbf73bdff9aa73d2f2b1a73e2c;hb=2c08ce7d004b20a1cd9bc68fccbf734a6ba2d242;hp=975c143fe46baf904d00db9b19a3777c68d627a1;hpb=269b667175f68821a3f2b871a097d4899d7abd78;p=r2c2.git diff --git a/source/libr2c2/intellibox.cpp b/source/libr2c2/intellibox.cpp index 975c143..4c8f2ac 100644 --- a/source/libr2c2/intellibox.cpp +++ b/source/libr2c2/intellibox.cpp @@ -13,8 +13,8 @@ using namespace Msp; namespace R2C2 { -Intellibox::Intellibox(const string &dev): - serial(dev), +Intellibox::Intellibox(const Options &opts): + serial(opts.get(string(), "ttyUSB0")), power(false), halted(false), update_sensors(false),