<commit_before>#include "PersMem.h"

CMem::CMem(void)
{

}

void CMem::Begin(void)
{
  LoadData();
}

void CMem::LoadData(void)
{
  // loads EEPROM data to SRAM
  Global.COL = GetColCount();
  if (Global.COL != 0) // if the rows and cols are configured, then load further data
  {
    Global.RefreshDelay = GetRefreshRate();
    Global.ROW = GetRowCount();
    Global.LAY = GetLayCount();

    for(byte i = 0; i < Global.ROW; i++)
    {
      Global.VPins[i] = GetRowPin(i);
    }
    for(byte i = 0; i < Global.COL; i++)
    {
      Global.HPins[i] = GetColPin(i);
    }

    Global.HasUSB = GetUSBHostType();

    Global.RequiresLoadData = true;<commit_msg>bugfix: corrected unused default EEPROM value<commit_after>#include "PersMem.h"

CMem::CMem(void)
{

}

void CMem::Begin(void)
{
  LoadData();
}

void CMem::LoadData(void)
{
  // loads EEPROM data to SRAM
  Global.COL = GetColCount();
  if (Global.COL != 255) // if the rows and cols are configured, then load further data
  {
    Global.RefreshDelay = GetRefreshRate();
    Global.ROW = GetRowCount();
    Global.LAY = GetLayCount();

    for(byte i = 0; i < Global.ROW; i++)
    {
      Global.VPins[i] = GetRowPin(i);
    }
    for(byte i = 0; i < Global.COL; i++)
    {
      Global.HPins[i] = GetColPin(i);
    }

    Global.HasUSB = GetUSBHostType();

    Global.RequiresLoadData = true;
{'fraction_non_alphanumeric': 0.15162721893491124, 'fraction_numerical': 0.005917159763313609, 'mean_word_length': 2.956140350877193, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '4310109', 'n_tokens_mistral': 515, 'n_tokens_neox': 493, 'n_words': 114}