summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 16:38:04 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 16:38:28 -0500
commit9a0b21681c9f2ede882d2ff294190ed2c0603df5 (patch)
treebcd0c9e09aac44a8e6d7254b1640bb028217b58a /tests
parent695e488b19d3b6884ccd7ca1010c8180484ccceb (diff)
Greatly expand API example in README.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.c b/tests/test_core.c
index 16863a97..cf8673ae 100644
--- a/tests/test_core.c
+++ b/tests/test_core.c
@@ -60,7 +60,7 @@ START_TEST (test_send_diag_request)
{
DiagnosticRequest request = {
arbitration_id: 0x7df,
- mode: OBD2_MODE_POWERTRAIN_DIAGNOSTIC_REQUEST
+ mode: OBD2_MODE_EMISSIONS_DTC_REQUEST
};
DiagnosticRequestHandle handle = diagnostic_request(&SHIMS, &request,
response_received_handler);