main.cpp (11c6556615780ba6a379321f1d43ae97f4961339) | main.cpp (9fa90c1923b8842bd1aab8116335862849fedf79) |
---|---|
1/** 2 * Copyright 2017 Google Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 69 unchanged lines hidden (view full) --- 78 configPath = std::string{optarg}; 79 break; 80 default: 81 /* skip garbage. */ 82 continue; 83 } 84 } 85 | 1/** 2 * Copyright 2017 Google Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 69 unchanged lines hidden (view full) --- 78 configPath = std::string{optarg}; 79 break; 80 default: 81 /* skip garbage. */ 82 continue; 83 } 84 } 85 |
86 auto modeControlBus = sdbusplus::bus::new_default(); | 86 auto modeControlBus = sdbusplus::bus::new_system(); |
87#if CONFIGURE_DBUS 88 { 89 dbus_configuration::init(modeControlBus); 90 } 91#endif 92 SensorManager mgmr; 93 std::unordered_map<int64_t, std::unique_ptr<PIDZone>> zones; 94 --- 80 unchanged lines hidden --- | 87#if CONFIGURE_DBUS 88 { 89 dbus_configuration::init(modeControlBus); 90 } 91#endif 92 SensorManager mgmr; 93 std::unordered_map<int64_t, std::unique_ptr<PIDZone>> zones; 94 --- 80 unchanged lines hidden --- |