diff options
Diffstat (limited to 'src/serial-device/main.vala')
-rw-r--r-- | src/serial-device/main.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serial-device/main.vala b/src/serial-device/main.vala index e338842..ae1aa75 100644 --- a/src/serial-device/main.vala +++ b/src/serial-device/main.vala @@ -18,7 +18,7 @@ Device dev; public static int main(string[] args) { try { Config cfg = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.Config", "/io/mainframe/shopsystem/config"); - dev = new Device(cfg.get_string("SERIAL", "device"), 9600, 8, 1); + dev = new Device(cfg.get_string("INPUT", "device"), 9600, 8, 1); } catch(IOError e) { error("IOError: %s\n", e.message); } catch(KeyFileError e) { @@ -27,7 +27,7 @@ public static int main(string[] args) { Bus.own_name( BusType.SESSION, - "io.mainframe.shopsystem.SerialDevice", + "io.mainframe.shopsystem.InputDevice", BusNameOwnerFlags.NONE, on_bus_aquired, () => {}, |