chore: Resolve several build warnings (#1076)

## Summary

* Resolve several build warnings

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? No
This commit is contained in:
Dave Allie
2026-02-22 20:56:13 +11:00
committed by GitHub
parent a610568f8c
commit f28623dacd
2 changed files with 5 additions and 2 deletions

View File

@@ -68,4 +68,7 @@ class MySerialImpl : public Print {
static MySerialImpl instance;
};
#define Serial MySerialImpl::instance
#ifdef Serial
#undef Serial
#endif
#define Serial MySerialImpl::instance

View File

@@ -35,6 +35,7 @@ build_flags =
# Increase PNG scanline buffer to support up to 2048px wide images
# Default is (320*4+1)*2=2562, we need more for larger images
-DPNG_MAX_BUFFERED_PIXELS=16416
-Wno-bidi-chars
build_unflags =
-std=gnu++11
@@ -91,4 +92,3 @@ build_flags =
-DCROSSPOINT_VERSION=\"${crosspoint.version}-slim\"
; serial output is disabled in slim builds to save space
-UENABLE_SERIAL_LOG