fiatlux/firmware/fiatlux.c
jedi 171a11eebf
All checks were successful
continuous-integration/drone/push Build is passing
initialize flash area for config
2021-07-09 21:35:41 +02:00

20 lines
361 B
C

#include <espressif/esp_common.h>
#include <esp/uart.h>
#include <stdio.h>
#include "system.h"
#include "wifi.h"
#include "web.h"
#include "mqtt.h"
#include "lux.h"
void user_init(void)
{
uart_set_baud(0, 115200);
printf("SDK version: %s\n", sdk_system_get_sdk_version());
sdk_wifi_set_sleep_type(WIFI_SLEEP_MODEM);
system_init_config();
}