Skip to content

Commit

Permalink
Switch back to building dbus-cxx from master, as multiple return was …
Browse files Browse the repository at this point in the history
  • Loading branch information
silverchris committed Aug 22, 2022
1 parent f8508f9 commit 2ab5417
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file removed dbusxx-xml2cpp
Binary file not shown.
1 change: 1 addition & 0 deletions include/Platforms/Mazda/Managers/GPSManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class GPSManager: public IGPSManager{


private:
using gpsData = std::tuple<int32_t, uint64_t, double, double, int32_t, double, double, double, double>;
asio::basic_waitable_timer<std::chrono::steady_clock> timer;
std::shared_ptr<com_jci_lds_data_objectProxy> gpsclient;
std::shared_ptr<com_jci_lds_control_objectProxy> gpscontrol;
Expand Down
4 changes: 1 addition & 3 deletions src/Platforms/Mazda/Managers/GPSManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ void GPSManager::update_position(const asio::error_code &error) {

aasdk::proto::data::GPSLocation loc;
try {
std::tuple<int32_t, uint64_t, double, double, int32_t, double, double, double, double>
data = gpsclient->getcom_jci_lds_dataInterface()->GetPosition();

gpsData data = gpsclient->getcom_jci_lds_dataInterface()->GetPosition().m_data;
//timestamp 0 means "invalid" and positionAccuracy 0 means "no lock"
if (std::get<1>(data) == 0 || std::get<0>(data) == 0) {
std::time_t now = time(nullptr);
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/Mazda/Managers/VideoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void VideoManager::start() {
displayModeConnection = bucpsa->getcom_jci_bucpsaInterface()->signal_DisplayMode()->connect(sigc::mem_fun(*this,
&VideoManager::DisplayMode));

std::tuple<unsigned int, int> display_mode = bucpsa->getcom_jci_bucpsaInterface()->GetDisplayMode();
std::tuple<unsigned int, int> display_mode = bucpsa->getcom_jci_bucpsaInterface()->GetDisplayMode().m_data;

currentDisplayMode = (bool) std::get<0>(display_mode);
}
Expand Down

0 comments on commit 2ab5417

Please sign in to comment.