/*#*
*#* $Log$
+ *#* Revision 1.14 2005/03/01 23:26:22 bernie
+ *#* Use shared hextab.
+ *#*
*#* Revision 1.13 2005/02/18 12:33:25 bernie
*#* Avoid strlen().
*#*
*#*/
#include "formatwr.h"
-#include "pgm.h"
-//#include <compiler.h> /* progmem macros */
+#include <mware/pgm.h>
+#include <mware/hex.h>
#include <config.h> /* CONFIG_ macros */
#include <debug.h> /* ASSERT */
flags.progmem = false;
#endif
ptr = buf_pointer = &buf[0];
- hex = "0123456789ABCDEF";
+ hex = HEX_tab;
/* check for leading '-', '+', ' ','#' or '0' flags */
for (;;)
precision++;
#endif
case 'x':
- hex = "0123456789abcdef";
+ hex = hex_tab;
case 'u':
case 'p':
case 'X':