Reorganize HAL (#14832)

This commit is contained in:
Scott Lahteine
2019-09-02 19:49:58 -05:00
committed by GitHub
parent cdd5056aba
commit 75efa3cdac
142 changed files with 547 additions and 422 deletions

View File

@ -31,10 +31,10 @@
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio_Teensy.h"
#include "watchdog_Teensy.h"
#include "fastio.h"
#include "watchdog.h"
#include "HAL_timers_Teensy.h"
#include "timers.h"
#include <stdint.h>

View File

@ -25,7 +25,7 @@
#if HAS_SERVOS
#include "HAL_Servo_Teensy.h"
#include "Servo.h"
uint8_t servoPin[MAX_SERVOS] = { 0 };

View File

@ -27,7 +27,7 @@
#ifdef __MK20DX256__
#include "HAL.h"
#include "HAL_timers_Teensy.h"
#include "timers.h"
/** \brief Instruction Synchronization Barrier
Instruction Synchronization Barrier flushes the pipeline in the processor,

View File

@ -26,7 +26,7 @@
#if ENABLED(USE_WATCHDOG)
#include "watchdog_Teensy.h"
#include "watchdog.h"
void watchdog_init() {
WDOG_TOVALH = 0;