(For those that haven't seen the symbol before, "/s" means "sarcasm".)
To whom it may concern:
I'd like to file a complaint against my code. I know something's amiss because
prints
Alignment issues? Buffer problems? This is my WTF of the day.
(Obviously this isn't the whole code, and I'm not asking for assistance, but damn this is an annoying one because it's messing up my logging, and I had nowhere else to complain.)
To whom it may concern:
I'd like to file a complaint against my code. I know something's amiss because
Code:
uint16_t u = 16;
printf("%" PRIu16 " (%04" PRIx16 "h)\r\n", u, u);
Code:
257 (0010h)
Alignment issues? Buffer problems? This is my WTF of the day.
(Obviously this isn't the whole code, and I'm not asking for assistance, but damn this is an annoying one because it's messing up my logging, and I had nowhere else to complain.)
Last edited: