Review Firmware Code Review the firmware code changes: $ARGUMENTS If no specific files or commit provided, review the most recent changes. Context Check recent git changes: Review Checklist Memory Safety - Check for buffer overflows and array bounds - Verify proper null pointer checks - Look for memory leaks (malloc without free) - Check stack usage in functions Resource Management - Verify all allocated resources are freed - Check for proper GPIO initialization/deinitialization - Look for semaphore/mutex deadlock potential - Verify interrupt handlers are minimal ESP-IDF Best Practices - Chec…