mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Use MAX_SSID_LEN and MAX_PASSPHRASE_LEN defines
This commit is contained in:
parent
66f05103a5
commit
06b2865ba4
@ -52,8 +52,8 @@ static void kb_event_cb(lv_obj_t* event_kb, lv_event_t event)
|
|||||||
{
|
{
|
||||||
if(event == LV_EVENT_APPLY) {
|
if(event == LV_EVENT_APPLY) {
|
||||||
StaticJsonDocument<256> settings;
|
StaticJsonDocument<256> settings;
|
||||||
char ssid[64] = "";
|
char ssid[MAX_SSID_LEN] = "";
|
||||||
char pass[64] = "";
|
char pass[MAX_PASSPHRASE_LEN] = "";
|
||||||
lv_obj_t* obj;
|
lv_obj_t* obj;
|
||||||
|
|
||||||
obj = hasp_find_obj_from_parent_id(oobepage[1], (uint8_t)10);
|
obj = hasp_find_obj_from_parent_id(oobepage[1], (uint8_t)10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user