mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
tornado/fw/: apply platform separation by include also to io.h
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "../mmc.h"
|
||||
#include "ben-io.h"
|
||||
#include "io.h"
|
||||
|
||||
|
||||
#define SOC_BASE 0x10000000
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* ben/ben-io.h - I/O helper macros (for cross-platform testing on the Ben)
|
||||
* ben/io.h - I/O helper macros (for cross-platform testing on the Ben)
|
||||
*
|
||||
* Written 2012 by Werner Almesberger
|
||||
* Copyright 2012 Werner Almesberger
|
||||
@@ -13,16 +13,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef AVR
|
||||
|
||||
#include "io.h"
|
||||
|
||||
#else /* AVR */
|
||||
|
||||
#include "ben-io.h"
|
||||
|
||||
#endif /* !AVR */
|
||||
|
||||
#include "delay.h"
|
||||
#include "mmc-hw.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user