From 66219401006e845f1a176e6a78c4682bd9de8785 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 13 Apr 2026 18:27:08 -0400 Subject: Rewrite most of the txbuf_* functions in asm. 7803 bytes free. --- src/main.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 39763c8..98a45c6 100644 --- a/src/main.c +++ b/src/main.c @@ -27,15 +27,6 @@ char reconnect_timeout = 1; extern void ih(); // defined in intr.s -void txbuf_init(void) { - txbuflen = tx_buf[0] = 0; -} - -void txbuf_set_str(const char *str) { - txbuf_init(); - txbuf_append_str(str); -} - void txbuf_send(void) { /* don't send empty buffer */ if(!txbuflen) return; @@ -51,11 +42,6 @@ void txbuf_send(void) { txbuf_init(); } -void txbuf_send_str(const char *str) { - txbuf_set_str(str); - txbuf_send(); -} - int fn_connect(void) { scr_display(SCR_SERVER); scr_print_current("Connecting to: "); -- cgit v1.2.3