aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/sys/vesa')
-rw-r--r--com32/lib/sys/vesa/initvesa.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/com32/lib/sys/vesa/initvesa.c b/com32/lib/sys/vesa/initvesa.c
index b396b53f..53ab4b77 100644
--- a/com32/lib/sys/vesa/initvesa.c
+++ b/com32/lib/sys/vesa/initvesa.c
@@ -53,8 +53,9 @@ uint32_t __vesacon_background[VIDEO_Y_SIZE][VIDEO_X_SIZE];
ssize_t __serial_write(void *fp, const void *buf, size_t count);
-static void debug(const char *str, ...)
+static inline void debug(const char *str, ...)
{
+#if 0
va_list va;
char buf[65536];
size_t len;
@@ -66,7 +67,10 @@ static void debug(const char *str, ...)
if (len >= sizeof buf)
len = sizeof buf - 1;
- //__serial_write(NULL, buf, len);
+ __serial_write(NULL, buf, len);
+#else
+ (void)str;
+#endif
}
static void unpack_font(uint8_t *dst, uint8_t *src, int height)