summaryrefslogtreecommitdiff
path: root/client/main.c
blob: 530af2a88250512484bf23c64d3593547d010ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "setup.h"
#include "../shared/errcatch.h"
#include "main.h"
#include "serial.h"
#include "ui.h"

w2_s_client_state g_w2_state;

int main(int argc, char **argv) {
	w2_client_setup(argc, argv);

	while (1) {
		w2_serial_main();
		w2_errcatch_main();
		w2_ui_main();
	}
}