Skip to content

Commit d316952

Browse files
committed
applied suggested changes
1 parent 431e689 commit d316952

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pico_w/wifi/access_point/picow_access_point.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ static u16_t ssi_handler(int iIndex, char *pcInsert, int iInsertLen
7474
}
7575
break;
7676
}
77-
default: { // unknown tag
78-
printed = 0;
79-
break;
80-
}
8177
}
8278
return (u16_t)printed;
8379
}
@@ -139,6 +135,8 @@ int main() {
139135
http_set_ssi_handler(ssi_handler, ssi_tags, LWIP_ARRAYSIZE(ssi_tags));
140136
cyw43_arch_lwip_end();
141137

138+
printf("Try connecting to '%s' (press 'd' to disable access point)\n", ap_name);
139+
142140
complete = false;
143141
while(!complete) {
144142
// the following #ifdef is only here so this same example can be used in multiple modes;

0 commit comments

Comments
 (0)