Refactor some platform dependent logic (#13675)

This commit is contained in:
Joel Challis 2021-07-24 19:56:45 +01:00 committed by GitHub
parent 145d89ab91
commit b5bcd5b0a1
Failed to generate hash of commit
11 changed files with 65 additions and 46 deletions

View file

@ -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