From a8427933d152962d87d4f9e747ef1686b994b01a Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Thu, 20 Mar 2025 14:23:13 -0400 Subject: [PATCH] added get_fuel_level() obdii command --- src/commands/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 1265eb9..6d60b1a 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -220,4 +220,7 @@ func! { /// Get service 1 PID support for $21 to $40 fn get_service_1_pid_support_2(0x01, 0x20) -> u32; + + // Get the fuel level (out of 255) + fn get_fuel_level(0x01, 0x2F) -> u8; }