<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=4679640" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kaspar030">@kaspar030</a>: Any chance to get this upstream soon? I'd like to use this in writing other tests.</p>
<p>As now for reducing the stack requirements manually writing spaces is required anyway, I do not really like the use of <code>fmt_lpad()</code> any more. Writing spaces manually <em>and</em> using <code>fmt_lpad()</code> is kind of solving the same problem twice.</p>
<p>I could instead just use <code>fmt_u32_dec()</code> into the buffer and add the required spaces before writing the buffer. Also: Having a <code>static const</code> buffer of spaces would allow to write spaces in bigger chunks improving efficiency of the code. Don't you think 16 byte of ROM would be worth the effort to call <code>print()</code> only once every 16 byte, not for every byte?</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/11692?email_source=notifications&email_token=ABE7WYG36KGPKHNRYKCSJHDP6OJAVA5CNFSM4HXZK2YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZODX5I#issuecomment-509361141">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBEXANRY2ZQNKTKHQTP6OJAVANCNFSM4HXZK2YA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYD5CVOXMOUMC6VMCZTP6OJAVA5CNFSM4HXZK2YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZODX5I.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/11692?email_source=notifications\u0026email_token=ABE7WYG36KGPKHNRYKCSJHDP6OJAVA5CNFSM4HXZK2YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZODX5I#issuecomment-509361141",
"url": "https://github.com/RIOT-OS/RIOT/pull/11692?email_source=notifications\u0026email_token=ABE7WYG36KGPKHNRYKCSJHDP6OJAVA5CNFSM4HXZK2YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZODX5I#issuecomment-509361141",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>