fix tabs
This commit is contained in:
parent
e743f56609
commit
687572768a
10
main.c
10
main.c
@ -7,11 +7,11 @@
|
|||||||
#include "secret.h"
|
#include "secret.h"
|
||||||
|
|
||||||
void set_host_name(const char * hostname) {
|
void set_host_name(const char * hostname) {
|
||||||
cyw43_arch_lwip_begin();
|
cyw43_arch_lwip_begin();
|
||||||
struct netif *n = &cyw43_state.netif[CYW43_ITF_STA];
|
struct netif *n = &cyw43_state.netif[CYW43_ITF_STA];
|
||||||
netif_set_hostname(n, hostname);
|
netif_set_hostname(n, hostname);
|
||||||
netif_set_up(n);
|
netif_set_up(n);
|
||||||
cyw43_arch_lwip_end();
|
cyw43_arch_lwip_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user