This code uses sprintf to generate the tnc buffer, but the compiler doesn't
really understand the value limits.
Signed-off-by: Keith Packard <keithp@keithp.com>
/// Buffer to hold the message portion of the AX.25 packet as we prepare it.
static uint8_t tncBuffer[TNC_BUFFER_SIZE];
/// Buffer to hold the message portion of the AX.25 packet as we prepare it.
static uint8_t tncBuffer[TNC_BUFFER_SIZE];
+#pragma GCC diagnostic ignored "-Wformat-overflow="
/**
* Initialize the TNC internal variables.
*/
/**
* Initialize the TNC internal variables.
*/