mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-08-21 09:29:42 +00:00
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.
This commit is contained in:
parent
dfd4158a96
commit
e1e0aedba4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user