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>
#include <util/atomic.h>

View File

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

View File

@@ -28,7 +28,7 @@
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
#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;