<commit_before>// Kugelmatik V3.1
// Firmware
//  <NAME> 2016 - 2017
//  <NAME>

// Hardware
//  AVR-NET-I/O mit ATmega32 und ENC28J60
//  MCP23S17
//  L293DNE

// Project Defines
// #define ETHERCARD_TCPCLIENT 0
// #define ETHERCARD_TCPSERVER 0
// #define ETHERCARD_STASH 0
// #define SERIAL_TX_BUFFER_SIZE 8
// #define SERIAL_RX_BUFFER_SIZE 8

// Includes
#include <limits.h>
#include <EtherCard.h>
#include <I2C.h>
#include <MCP23017.h>

#include "constants.h"
#include "util.h"
#include "leds.h"
#include "config.h"
#include "stepper.h"
#include "network.h"
#include "tick.h"
#include "watchdog.h"
#include "PacketBuffer.h"
#include "BinaryHelper.h"
#include "serial.h"

void setup()
{
	disable_wdt();

	serialBegin();
	serialPrintF("Kugelmatik Firmware booting up, version: ");
	serialPrintln(BUILD_VERSION);

	for (int i = 0; i < 200; i++)
		writeEEPROM((uint8_t)'A');

	initEEPROM();

	writeEEPROM("Kugelmatik");

	setupLeds();
	turnGreenLedOn();

	setDefaultConfig();
	initNetwork();
	initAllMCPs();

	turnGreenLedOff();

	wdt_yield();
	serialPrintlnF("Done booting! Ready.");

	writeEEPROM("ready");
}

void loop()
{
	startTime(TIMER_LOOP);
	runTick(config.tickTime, false);
	loopTime = endTime(TIMER_LOOP);

	wdt_yield();
}<commit_msg>Remove EEPROM clearing in setup()<commit_after>// Kugelmatik V3.1
// Firmware
//  <NAME> 2016 - 2017
//  <NAME>

// Hardware
//  AVR-NET-I/O mit ATmega32 und ENC28J60
//  MCP23S17
//  L293DNE

// Project Defines
// #define ETHERCARD_TCPCLIENT 0
// #define ETHERCARD_TCPSERVER 0
// #define ETHERCARD_STASH 0
// #define SERIAL_TX_BUFFER_SIZE 8
// #define SERIAL_RX_BUFFER_SIZE 8

// Includes
#include <limits.h>
#include <EtherCard.h>
#include <I2C.h>
#include <MCP23017.h>

#include "constants.h"
#include "util.h"
#include "leds.h"
#include "config.h"
#include "stepper.h"
#include "network.h"
#include "tick.h"
#include "watchdog.h"
#include "PacketBuffer.h"
#include "BinaryHelper.h"
#include "serial.h"

void setup()
{
	disable_wdt();

	serialBegin();
	serialPrintF("Kugelmatik Firmware booting up, version: ");
	serialPrintln(BUILD_VERSION);

	initEEPROM();
	writeEEPROM("Kugelmatik");

	setupLeds();
	turnGreenLedOn();

	setDefaultConfig();
	initNetwork();
	initAllMCPs();

	turnGreenLedOff();

	wdt_yield();
	serialPrintlnF("Done booting! Ready.");

	writeEEPROM("ready");
}

void loop()
{
	startTime(TIMER_LOOP);
	runTick(config.tickTime, false);
	loopTime = endTime(TIMER_LOOP);

	wdt_yield();
}
{'fraction_non_alphanumeric': 0.1597222222222222, 'fraction_numerical': 0.0298202614379085, 'mean_word_length': 4.695348837209302, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '6947628', 'n_tokens_mistral': 1075, 'n_tokens_neox': 989, 'n_words': 202}