<commit_before>#include "mainsm.h"
#include "ledsm.h"
#include <ESP8266WiFi.h>          //ESP8266 Core WiFi Library
#include <DNSServer.h>            //Local DNS Server used for redirecting all requests to the configuration portal
#include <ESP8266WebServer.h>     //Local WebServer used to serve the configuration portal
#include <WiFiManager.h>          //https://github.com/kentaylor/WiFiManager WiFi 


WiFiManager wifiManager;
unsigned char mainState;
unsigned char ledState;
void setup() {
  // put your setup code here, to run once:
 
  mainState = STATE_MAIN_INIT;
  ledState= STATE_LED_BLINKING_ON;
  pinMode(ESP8266_LED, OUTPUT);
}

void loop() 
{
  //main_state_machine(&mainState, &ledState, &wifiManager);
  led_state_machine(&ledState);
  yield();
}<commit_msg>This doesn't work yet because WifiManager is blocking<commit_after>#include "mainsm.h"
#include "ledsm.h"
#include <ESP8266WiFi.h>          //ESP8266 Core WiFi Library
#include <DNSServer.h>            //Local DNS Server used for redirecting all requests to the configuration portal
#include <ESP8266WebServer.h>     //Local WebServer used to serve the configuration portal
#include <WiFiManager.h>          //https://github.com/kentaylor/WiFiManager WiFi 


WiFiManager wifiManager;
unsigned char mainState;
unsigned char ledState;
void setup() {
  // put your setup code here, to run once:
 
  mainState = STATE_MAIN_INIT;
  ledState= STATE_LED_BLINKING_ON;
  pinMode(ESP8266_LED, OUTPUT);
}

void loop() 
{
  main_state_machine(&mainState, &ledState, &wifiManager);
  led_state_machine(&ledState);
  yield();
}
{'fraction_non_alphanumeric': 0.10138539042821158, 'fraction_numerical': 0.020151133501259445, 'mean_word_length': 4.159090909090909, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7333474', 'n_tokens_mistral': 559, 'n_tokens_neox': 508, 'n_words': 145}