<p><b>@aabadie</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11573#discussion_r287800055">sys/log/log_color/log_module.h</a>:</p>
<pre style='color:#555'>> +    va_start(args, format);
+    /* Temporarily disable clang format-nonliteral warning */
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-nonliteral"
+#endif /* clang */
+    vprintf(format, args);
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif /* clang */
+    va_end(args);
+    printf(LOG_RESET_ANSI_COLOR_CODE);
+
+#ifdef MODULE_NEWLIB
+    /* no fflush on msp430 */
+    fflush(stdout);
</pre>
<p>Except that make term or pyterm are not the only wait to connect to the stdout of a board. If I use <code>miniterm.py /dev/ttyACM0 115200</code> or minicom or whatever, the terminal is not reset when exiting the tool. I think it's safer to let the call to <code>LOG_XX</code> do this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11573?email_source=notifications&email_token=ABE7WYDJ2HTOZTZQSJL3PWDPXPR5JA5CNFSM4HPOZHPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZYQTLI#discussion_r287800055">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAE6HB2KPJUJEG6JU3PXPR5JANCNFSM4HPOZHPA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDSKPINGTTZUFLAHB3PXPR5JA5CNFSM4HPOZHPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZYQTLI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11573?email_source=notifications\u0026email_token=ABE7WYDJ2HTOZTZQSJL3PWDPXPR5JA5CNFSM4HPOZHPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZYQTLI#discussion_r287800055",
"url": "https://github.com/RIOT-OS/RIOT/pull/11573?email_source=notifications\u0026email_token=ABE7WYDJ2HTOZTZQSJL3PWDPXPR5JA5CNFSM4HPOZHPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZYQTLI#discussion_r287800055",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>