发布

  • Fix/echoear memory leak (#1817)

    frostbyte_neo 发布于 2026-03-09 11:33:01 +00:00 | 191 次提交 在此版本后已推送到 main

    • fix(echoear): Fix spelling errors in PCB version detection
    • Fixed 'pcb_verison' -> 'pcb_version' (variable and log messages)
    • Fixed 'Initializest77916Display' -> 'InitializeSt77916Display' (function name)
    • Fixed 'PCB verison' -> 'PCB version' in log messages

    These are cosmetic fixes that improve code readability and maintainability.

    • fix(echoear): Add destructor for resource cleanup
    • Add destructor to clean up tasks, objects, GPIO ISR, and temperature sensor
    • Store task handles to allow proper task deletion
    • Skip deleting backlight_ and camera_ as their base classes lack virtual destructors
    • Improves code robustness without altering functional behavior
    下载附件