Skip to content

Commit 0079aa4

Browse files
committedJan 25, 2016
runtime/main: style, wording, 1s ppp holdoff
1 parent 2c847b3 commit 0079aa4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
 

Diff for: ‎artiq/runtime/main.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ static int ppp_connected;
154154

155155
static void ppp_status_cb(ppp_pcb *pcb, int err_code, void *ctx)
156156
{
157-
if (err_code == PPPERR_NONE) {
158-
ppp_connected = 1;
159-
return;
160-
} else if (err_code == PPPERR_USER) {
161-
return;
162-
} else {
163-
ppp_connect(pcb, 10);
164-
}
157+
if (err_code == PPPERR_NONE) {
158+
ppp_connected = 1;
159+
return;
160+
} else if (err_code == PPPERR_USER) {
161+
return;
162+
} else {
163+
ppp_connect(pcb, 1);
164+
}
165165
}
166166

167167
u32_t sio_write(sio_fd_t fd, u8_t *data, u32_t len)
@@ -214,7 +214,7 @@ static struct net_server_instance analyzer_inst = {
214214

215215
static void regular_main(void)
216216
{
217-
puts("Accepting sessions on Network.");
217+
puts("Accepting network sessions.");
218218
network_init();
219219
net_server_init(&session_inst);
220220
#ifdef CSR_RTIO_ANALYZER_BASE

0 commit comments

Comments
 (0)
Please sign in to comment.