<commit_before>#include "Tone.h"
#include <Arduino.h>

void nanpy::Tone::play(int note, int duration) {
    #if defined(__AVR__)
        tone(pin, note, duration);
        delay(duration * 1.30);
        noTone(pin);
    #endif
}

void nanpy::Tone::stop(void) {
    #if defined(__AVR__)
        noTone(pin);
    #endif
}<commit_msg>put Tone inside #if #endif<commit_after>#include "cfg.h"

#if USE_Tone

#include "Tone.h"
#include <Arduino.h>

void nanpy::Tone::play(int note, int duration) {
    #if defined(__AVR__)
        tone(pin, note, duration);
        delay(duration * 1.30);
        noTone(pin);
    #endif
}

void nanpy::Tone::stop(void) {
    #if defined(__AVR__)
        noTone(pin);
    #endif
}

#endif
{'fraction_non_alphanumeric': 0.15620641562064155, 'fraction_numerical': 0.008368200836820083, 'mean_word_length': 3.0795454545454546, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1169040', 'n_tokens_mistral': 281, 'n_tokens_neox': 273, 'n_words': 57}