Commit 88cd9322 authored by Benjamin Berg's avatar Benjamin Berg

fixup! Simplify Synaptics driver

Ignore zreo format length warning from GCC
parent e85b6079
Pipeline #42108 passed with stages
in 4 minutes and 48 seconds
......@@ -19,6 +19,8 @@
#include "bmkt_internal.h"
#include "sensor.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-zero-length"
void print_buffer(uint8_t *buf, int len)
{
int i;
......@@ -33,6 +35,7 @@ void print_buffer(uint8_t *buf, int len)
}
bmkt_dbg_log("");
}
#pragma GCC diagnostic pop
uint32_t extract32(const uint8_t *buf, int *offset)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment