selfbus / software-arm-incubation

Selfbus software projects in development, for ARM microcontrollers
GNU General Public License v3.0
11 stars 14 forks source link

Prepare for deprecation/removal of symbols in sblib #62

Closed dallmair closed 10 months ago

dallmair commented 10 months ago

Three changes here:

  1. reverseByteOrder functions are to be removed from sblib as their use is typically an indication that something is wrong and it's better to prevent abuse than to find out later
  2. systemTime is a global variable that should only be used by sblib and nobody else, so switch to millis() which is the public read-only API surface of systemTime
  3. Remove NO_OOP_MACROS preprocessor symbols as it has been a dead symbol for quite some time