Skip to content

Comments

Various improvements#7

Open
victor-Lopez25 wants to merge 2 commits intoSEGGERMicro:mainfrom
victor-Lopez25:main
Open

Various improvements#7
victor-Lopez25 wants to merge 2 commits intoSEGGERMicro:mainfrom
victor-Lopez25:main

Conversation

@victor-Lopez25
Copy link

  1. Only include string.h when SEGGER_RTT_MEMCPY is not defined
  2. Fix memcpy being used in a couple places instead of SEGGER_RTT_MEMCPY
  3. Remove stdlib.h include from SEGGER_RTT.h since it's not necessary (unused)
  4. Add a new macro: SEGGER_RTT_PRINTF_FORMAT to let the compiler know SEGGER_RTT_printf is a printf function (the compiler will check for errors in printf calls)

2. Fix memcpy being used in a couple places instead of SEGGER_RTT_MEMCPY
3. Remove stdlib include from SEGGER_RTT.h since it's not necessary (unused)
… SEGGER_RTT_printf is a printf function (it will check for errors in printf calls)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant