<commit_before>#include <avr/io.h>
#include <util/delay.h>
#include <stdint.h>

#define LED_PIN 1
#define HOLD 16

inline void sw_pwm(uint8_t fill);

int main() {
	uint8_t level, wait;
	DDRB |= LED_PIN;
	while (1) {
		for (level = 0; level < 255; level++) {
			for (wait = 0; wait < HOLD; wait++) {
				sw_pwm(level);
			}
		}
		for (level = 255; level > 0; level--) {
			for (wait = 0; wait < HOLD; wait++) {
				sw_pwm(level);
			}
		}
	}
}

inline void sw_pwm(uint8_t fill) {
	uint8_t ctr = 0;
	for (ctr = 0; ctr < fill; ctr++) {
		asm("nop");
	}
	PORTB ^= LED_PIN;
	for (ctr = fill; ctr != 0; ctr++) {
		asm("nop");
	}<commit_msg>made sw_pwm static to avoid dead code<commit_after>#include <avr/io.h>
#include <util/delay.h>
#include <stdint.h>

#define LED_PIN 1
#define HOLD 16

inline static void sw_pwm(uint8_t fill);

int main() {
	uint8_t level, wait;
	DDRB |= LED_PIN;
	while (1) {
		for (level = 0; level < 255; level++) {
			for (wait = 0; wait < HOLD; wait++) {
				sw_pwm(level);
			}
		}
		for (level = 255; level > 0; level--) {
			for (wait = 0; wait < HOLD; wait++) {
				sw_pwm(level);
			}
		}
	}
}

inline static void sw_pwm(uint8_t fill) {
	uint8_t ctr = 0;
	for (ctr = 0; ctr < fill; ctr++) {
		asm("nop");
	}
	PORTB ^= LED_PIN;
	for (ctr = fill; ctr != 0; ctr++) {
		asm("nop");
	}
{'fraction_non_alphanumeric': 0.18376722817764166, 'fraction_numerical': 0.03215926493108729, 'mean_word_length': 3.0215384615384617, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 11, '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': '541246', 'n_tokens_mistral': 658, 'n_tokens_neox': 580, 'n_words': 156}