Skip to content

Commit

Permalink
fix: Astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zfields committed Jan 17, 2025
1 parent b1d4deb commit 5b1edf7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions n_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,12 @@ void NoteDelayMs(uint32_t ms)
@param n the number
@param p the buffer to return it into
*/
/**************************************************************************/
void _n_htoa32(uint32_t n, char *p)
{
static_assert(sizeof(void *) == sizeof(uint32_t), "Pointer size mismatch");
/**************************************************************************/
void _n_htoa32(uint32_t n, char *p)
{
static_assert(sizeof(void *) == sizeof(uint32_t), "Pointer size mismatch");

for (int i=0; i<8; i++) {
for (int i=0; i<8; i++) {
uint32_t nibble = (n >> 28) & 0xff;
n = n << 4;
if (nibble >= 10) {
Expand Down

0 comments on commit 5b1edf7

Please sign in to comment.