Fix: typo, and dirty fix to get compiled ftm.
[apps/low-level-can-service.git] / src / diagnostic / diagnostic-message.cpp
index 707b314..15fe094 100644 (file)
@@ -145,13 +145,14 @@ bool obd2_signals_t::is_obd2_response(can_message_t can_message)
                status=false;
        }
        return false;
+       */
 }
 
 void obd2_signals_t::add_request(int pid)
 {
        DiagnosticRequest request = {
        arbitration_id: OBD2_FUNCTIONAL_BROADCAST_ID,
-       mode: 0x1, has_true, pid};
+       mode: 0x1, has_pid: true, pid_ };
 }
 
 /**