igor-krechetov / hsmcpp

C++ based Hierarchical / Finite State Machine library oriented for embedded and RTOS systems.
https://hsmcpp.readthedocs.io
MIT License
71 stars 11 forks source link

HSM_LOGGING_MODE_STRICT_VERBOSE on arduino #11

Open gmkado opened 9 months ago

gmkado commented 9 months ago

I tried turning debug logging on with HSM_LOGGING_MODE_STRICT_VERBOSE and it failed to find serialPrintf (using arduino).

Should this line https://github.com/igor-krechetov/hsmcpp/blob/91b791de43c263a9ce2025267506e9c41ddba555/src/logging.cpp#L4

be this:

#if defined(PLATFORM_ARDUINO) && !defined(HSM_DISABLE_TRACES)