You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/03/23 22:01:43 UTC
[GitHub] [mynewt-core] kasjer opened a new pull request #2803: console: Fix internals console history
kasjer opened a new pull request #2803:
URL: https://github.com/apache/mynewt-core/pull/2803
history_handle_t type was used to store pointer or result.
Code assumed that pointer will always be positive and error code
would be SYS_xxx so they would be negative.
For PIC32 RAM addresses start from 0x80000000 sot they were always
negative.
This removes double meaning of history_handle_t and some functions return
error codes separately from found history entries.
There is no change in history handling logic just arguments and return values reworked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org