Keychron / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
653 stars 826 forks source link

factory tests and lto complie #271

Open Dialgatrainer02 opened 3 weeks ago

Dialgatrainer02 commented 3 weeks ago

Issue Description

when compiling with lto enables i occasionally run into issues with functions being already being used in factory tests. at the moment my work around is to use the advanced version of the function eg rgb_matrix_indicators_user vs rgb_matrix_indicators_advanced_user as the non advanced one is taken. what are the factory tests actually used for. and is there a way to use these functions without modifying outside the keymap or disabling lto? i can live with my current "work aroud" im just interested.