瀏覽代碼

fix includes for deps/reorg

main
John Robinson 3 年之前
父節點
當前提交
276d37396f
沒有發現已知的金鑰在資料庫的簽署中
共有 4 個檔案被更改,包括 8 行新增8 行删除
  1. +2
    -2
      src/serial-flash/SerialFlash.h
  2. +2
    -2
      src/serial-flash/SerialFlashChip.cpp
  3. +1
    -1
      src/serial-flash/SerialFlashDirectory.cpp
  4. +3
    -3
      src/serial-flash/util/SerialFlash_directwrite.h

+ 2
- 2
src/serial-flash/SerialFlash.h 查看文件

@@ -28,8 +28,8 @@
#ifndef SerialFlash_h_
#define SerialFlash_h_

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

class SerialFlashFile;


+ 2
- 2
src/serial-flash/SerialFlashChip.cpp 查看文件

@@ -25,8 +25,8 @@
* THE SOFTWARE.
*/

#include "SerialFlash.h"
#include "util/SerialFlash_directwrite.h"
#include "./SerialFlash.h"
#include "./util/SerialFlash_directwrite.h"

#define CSASSERT() DIRECT_WRITE_LOW(cspin_basereg, cspin_bitmask)
#define CSRELEASE() DIRECT_WRITE_HIGH(cspin_basereg, cspin_bitmask)

+ 1
- 1
src/serial-flash/SerialFlashDirectory.cpp 查看文件

@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/

#include "SerialFlash.h"
#include "./SerialFlash.h"

/* On-chip SerialFlash file allocation data structures:


+ 3
- 3
src/serial-flash/util/SerialFlash_directwrite.h 查看文件

@@ -6,10 +6,10 @@
// Adapted from OneWire.h

#if ARDUINO >= 100
#include "Arduino.h" // for delayMicroseconds, digitalPinToBitMask, etc
#include <core/Arduino.h> // for delayMicroseconds, digitalPinToBitMask, etc
#else
#include "WProgram.h" // for delayMicroseconds
#include "pins_arduino.h" // for digitalPinToBitMask, etc
#include <core/WProgram.h> // for delayMicroseconds
#include <core/pins_arduino.h> // for digitalPinToBitMask, etc
#endif

// Platform specific I/O definitions

Loading…
取消
儲存