hash6iron / powadcr

TAP/TZX Digital cassette recorder for 8-bit machines
GNU General Public License v3.0
23 stars 10 forks source link

Serial logs. #29

Open jgauchia opened 4 days ago

jgauchia commented 4 days ago

All output logs are send with log and logln function

https://github.com/hash6iron/powadcr/blob/main/src/globales.h#L400

Since the output is made through the same port used by the HMI screen when starting or depending on the logs that are displayed, they can interfere with the communication

For the logs it would be good to use _logv , _logi or _loge which go together with the buildflag DEBUG_CORE_LEVEL and it is possible to deactivate them with level 0

jgauchia commented 4 days ago

With PR #28 HMI and USB ports will be separated.