SARAR5UCPU platform change: uPortLogOff() controls UART trace only.
ucpu_sdk_debug_va_list() prints traces to the UART and also to the internal u-blox logging tool.  With this change, if uPortLogOff() is set, then traces will no longer be sent to the UART but will continue to be captured by the internal logging tool.
@@ -59,12 +59,10 @@ void uPortLogF(const char *pFormat, ...)
{
va_list args;
- if (gPortLogOn) {
va_start(args, pFormat);
- ucpu_sdk_debug_va_list(pFormat, args);
+ ucpu_sdk_debug_va_list(gPortLogOn, pFormat, args);
va_end(args);
}
-}
// Switch logging off.
int32_t uPortLogOff(void)
