Files
rad1o-f1rmware/r0ketlib/itoa.h
Daniel 4ab7dff1e0 Debugging output in config works again.
- Add headers for printing to config.c
- Add lcdPrintInt(int number) to print.c
- Add comments to itoa.h
2015-08-16 09:13:51 +02:00

12 lines
400 B
C

#ifndef _ITOA_H
#define _ITOA_H 1
#define F_ZEROS (1<<0) // Print with leading zeros
#define F_LONG (1<<1) // Print with leading spaces
#define F_SPLUS (1<<2) // Prefix '+' on positive number
#define F_SSPACE (1<<3) // Prefix ' ' on positive numbers
#define F_HEX (1<<4) // Print as (fixed-width) hex number
const char* IntToStr(int num, unsigned int mxlen, char flag);
#endif /* _ITOA_H */