Переглянути джерело

fix includes to match package/deps layout

main
John Robinson 4 роки тому
джерело
коміт
207c77075d
Не вдалося знайти GPG ключ що відповідає даному підпису
2 змінених файлів з 6 додано та 6 видалено
  1. +2
    -2
      src/spi/SPI.cpp
  2. +4
    -4
      src/spi/SPI.h

+ 2
- 2
src/spi/SPI.cpp Переглянути файл

* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */


#include "SPI.h"
#include "pins_arduino.h"
#include "./SPI.h"
#include <core/pins_arduino.h>


//#define DEBUG_DMA_TRANSFERS //#define DEBUG_DMA_TRANSFERS



+ 4
- 4
src/spi/SPI.h Переглянути файл

#ifndef _SPI_H_INCLUDED #ifndef _SPI_H_INCLUDED
#define _SPI_H_INCLUDED #define _SPI_H_INCLUDED


#include <Arduino.h>
#include <core/Arduino.h>


#if defined(__arm__) && defined(TEENSYDUINO) #if defined(__arm__) && defined(TEENSYDUINO)
#if defined(__has_include) && __has_include(<EventResponder.h>)
#if defined(__has_include) && __has_include(<core/EventResponder.h>)
// SPI_HAS_TRANSFER_ASYNC - Defined to say that the SPI supports an ASYNC version // SPI_HAS_TRANSFER_ASYNC - Defined to say that the SPI supports an ASYNC version
// of the SPI_HAS_TRANSFER_BUF // of the SPI_HAS_TRANSFER_BUF
#define SPI_HAS_TRANSFER_ASYNC 1 #define SPI_HAS_TRANSFER_ASYNC 1
#include <DMAChannel.h>
#include <EventResponder.h>
#include <core/DMAChannel.h>
#include <core/EventResponder.h>
#endif #endif
#endif #endif



Завантаження…
Відмінити
Зберегти