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 authored and GitHub committed 2026-02-22 20:56:13 +11:00
1 parent 294131707b
commit 03011aa7cf
2 files changed
+5 -2

No files matched your search

+4 -1
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
+1 -1
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