Refactor some platform dependent logic (#13675)
This commit is contained in:
@@ -16,14 +16,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(__AVR__)
|
||||
# include <avr/io.h>
|
||||
# include <avr/interrupt.h>
|
||||
# include <avr/pgmspace.h>
|
||||
#else
|
||||
# include <ch.h>
|
||||
# include <hal.h>
|
||||
#endif
|
||||
#include <float.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define VIBRATO_LUT_LENGTH 20
|
||||
|
||||
|
@@ -18,9 +18,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#if defined(__AVR__)
|
||||
# include <avr/io.h>
|
||||
#endif
|
||||
#include "wait.h"
|
||||
#include "luts.h"
|
||||
|
||||
|
Reference in New Issue
Block a user