cdisselkoen / Kaleidoscope-Hardware-Virtual

"Virtual" hardware plugin for Kaleidoscope: test and debug Kaleidoscope sketches, plugins, and core on x86
GNU General Public License v3.0
2 stars 1 forks source link

Enabled replacement of millis() by turning it weak #6

Closed noseglasses closed 6 years ago

noseglasses commented 6 years ago

For my Kaleidoscope-Python module that wraps Kaleidoscope-Hardware-Virtual I need to be able to replace the millis() function that does its own time handling. To achieve this, I turned the function into a weak symbol.