From e1e0aedba4ad0cd1756c5803d46ba2b4a8da2861 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Wed, 8 Jul 2015 15:44:48 +0200 Subject: [PATCH] Exit web server on initialization failure. As we use the web server for IP65 demo it makes sense to have it behave somewhat more consistent. --- test/httpd.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/httpd.s b/test/httpd.s index 81c2108..959bae2 100644 --- a/test/httpd.s +++ b/test/httpd.s @@ -20,6 +20,7 @@ ldax #initializing jsr print init_ip_via_dhcp + bcs :+ jsr print_ip_config ldax #listening @@ -27,8 +28,7 @@ ldax #httpd_callback jsr httpd_start - jmp exit_to_basic - +: jmp exit_to_basic print_vars: lda #'h' @@ -55,7 +55,7 @@ httpd_callback: .rodata initializing: - .byte 13,"INITIALIZING ",0 + .byte 13,"INITIALIZING",13,0 listening: .byte "LISTENING",13,0 said: