fix building portduino and make cppcheck happy

This commit is contained in:
Thomas Göttgens 2023-01-09 19:23:41 +01:00
parent 5fd00b2538
commit 86748bf88e
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ size_t RedirectablePrint::log(const char *logLevel, const char *format, ...)
}
void RedirectablePrint::hexDump(const char *logLevel, unsigned char *buf, uint16_t len) {
char alphabet[17] = "0123456789abcdef";
const char alphabet[17] = "0123456789abcdef";
log(logLevel, " +------------------------------------------------+ +----------------+\n");
log(logLevel, " |.0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .a .b .c .d .e .f | | ASCII |\n");
for (uint16_t i = 0; i < len; i += 16) {

View File

@ -2,7 +2,7 @@
#include "RadioInterface.h"
#include "MeshPacketQueue.h"
#include "wifi/WiFiServerAPI.h"
#include "api/WiFiServerAPI.h"
#include <RadioLib.h>