mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-06 16:04:58 -04:00
fw: remove warning of missing prototypes when building with QEMU console
enabled.
This commit is contained in:
parent
613316f53e
commit
81950ef7b2
2 changed files with 4 additions and 4 deletions
|
@ -8,16 +8,16 @@
|
|||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef QEMU_CONSOLE
|
||||
#ifdef QEMU_CONSOLE
|
||||
void htif_putc(char ch);
|
||||
void htif_lf();
|
||||
void htif_lf(void);
|
||||
void htif_puthex(uint8_t c);
|
||||
void htif_putinthex(const uint32_t n);
|
||||
void htif_puts(const char *s);
|
||||
void htif_hexdump(void *buf, int len);
|
||||
#else
|
||||
#define htif_putc(ch)
|
||||
#define htif_lf()
|
||||
#define htif_lf(void)
|
||||
#define htif_puthex(c)
|
||||
#define htif_putinthex(n)
|
||||
#define htif_puts(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue