diff --git a/Project/applications/smartcities/Makefile b/Project/applications/smartcities/Makefile index 3179a82..5c71871 100644 --- a/Project/applications/smartcities/Makefile +++ b/Project/applications/smartcities/Makefile @@ -10,7 +10,7 @@ SDK_ROOT = ../../ PROJECT_OUT = smartcities -USER_SRC = main.c httpClient.c callbacks.c +USER_SRC = main.c httpClient.c callbacks.c module.c sensors.c USER_INCDIR = include/ # if you need to add build Defines options add to USER_DEFS define diff --git a/Project/applications/smartcities/main.c b/Project/applications/smartcities/main.c index 8e00aae..a85f962 100644 --- a/Project/applications/smartcities/main.c +++ b/Project/applications/smartcities/main.c @@ -37,7 +37,7 @@ int main(void) libwismart_WiFiInit(); //falta definir les variables de la xarxa - libwismart_WiFiConnectEnterprise(NETWORK_SSID, &wpa, wifii_connect_result_cb); + libwismart_WiFiConnectEnterprise(NETWORK_SSID, &wpa, wifi_connect_result_cb); //int httpRequest(struct httpHeaders head, char* content, int content_size) //chThdSleepMilliseconds(5000);