Move wifi stuff to utils
This commit is contained in:
parent
df3ef6f9fa
commit
75d630604d
4 changed files with 83 additions and 67 deletions
8
src/utils.h
Normal file
8
src/utils.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "pico/cyw43_arch.h"
|
||||
|
||||
static int wifi_setup_impl(uint32_t country, const std::string &ssid, const std::string &pw, bool firstTry = true);
|
||||
void wifi_setup();
|
Loading…
Add table
Add a link
Reference in a new issue