summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-18 04:44:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-18 04:44:01 -0400
commit7ee2bf88e99f0ffa027c5839e5ae85d55752ac1b (patch)
tree8a224b5479e288537d51d0f044df7e8cd532b574 /driver_navcom.c
parentc46e369a26bb693e744206979ee9d8674c27f1da (diff)
downloadgpsd-7ee2bf88e99f0ffa027c5839e5ae85d55752ac1b.tar.gz
More cppcheck warning fixups. All regression tests pass.
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index ac5adf07..655c745c 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -110,8 +110,9 @@ static void navcom_cmd_0x20(struct gps_device_t *session, uint8_t block_id,
}
/*@ unused @*/
-/* Changes the LED settings in the receiver */
+// cppcheck-suppress unusedFunction
static void UNUSED navcom_cmd_0x3f(struct gps_device_t *session)
+/* Changes the LED settings in the receiver */
{
unsigned char msg[12];
putbyte(msg, 0, 0x02);