#include <stdio.h>
#include "esp_log.h"
#define TAG "golioth_example"
/*
#include <sys/time.h>
#include <esp_timer.h>
#include <driver/gpio.h>
#include <rom/ets_sys.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>*/
/*
while(1)
{
float distance = read_distance();
if (distance < previous * 1000)
{
previous = distance;
printf("Measured distance: %0.0f\n", distance);
}
vTaskDelay(100 / portTICK_PERIOD_MS);
}*/
extern "C"
{
void app_main(void);
}
void app_main(void) {
ESP_LOGW(TAG, "WiFi and golioth credentials are not set");
ESP_LOGW(TAG, "Use the shell settings commands to set them, then restart");
printf("0000\n");
}