fixup! Simplify Synaptics driver
Ignore zreo format length warning from GCC
This commit is contained in:
parent
e85b607965
commit
88cd932203
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue