#include "low-can-binding.hpp"
+#include <map>
#include <queue>
#include <mutex>
#include <vector>
}
/*else
{
- // Event it isn't valid annymore, recreate it
+ // Event it isn't valid annymore, recreate it
ret = create_event_handle(sig, s);
}*/
}
std::vector<diagnostic_message_t*> found;
configuration_t::instance().find_diagnostic_messages(build_DynamicField(sig), found);
DiagnosticRequest* diag_req = new DiagnosticRequest(found.front()->build_diagnostic_request());
-
+
// If the requested diagnostic message isn't supported by the car then unssubcribe.
// no matter what we want, worse case will be a fail unsubscription but at least we don't
// poll a PID for nothing.