purduesigbots / pros

Source code for PROS kernel: open source C/C++ development for the VEX V5 microcontroller
https://pros.cs.purdue.edu
Other
259 stars 76 forks source link

:sparkles: PROS 4: Add LCD Initialize Weak Symbol #555

Closed WillXuCodes closed 1 year ago

WillXuCodes commented 1 year ago

Summary: Adds pros::lcd::is_initialized to the weak symbol table for LLEMU stubs. This is a way to help templates who check for this (such as EZTemplate) to see if both LVGL is installed and LLEMU is initialized. To accomplish this, this function will return false if it is still defined as the weak symbol.

Motivation: Porting work on EZTemplate.

References (optional): closes https://github.com/purduesigbots/pros/issues/549

Test Plan: