Merge pull request #6224 from haukepetersen/rm_saml21_saml21periphh

cpu/saml21: removed unused saml21_periph.h
This commit is contained in:
Kaspar Schleiser
2016-12-16 21:07:27 +01:00
committed by GitHub
3 changed files with 3 additions and 44 deletions
-34
View File
@@ -1,34 +0,0 @@
/*
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
* 2015 FreshTemp, LLC.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_saml21
* @{
*
* @file
* @brief SAML21 IO helper stuff
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef SAML21_PERIPH_H
#define SAML21_PERIPH_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "cpu_conf.h"
#include "panic.h"
#ifdef __cplusplus
}
#endif
/** @} */
#endif /* SAML21_PERIPH_H */
+1 -6
View File
@@ -24,14 +24,9 @@
*/
#include "cpu.h"
#include "periph/gpio.h"
#include "periph_conf.h"
#include "saml21_periph.h"
#include "sched.h"
#include "thread.h"
#include "panic.h"
#include "periph/gpio.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
+2 -4
View File
@@ -28,13 +28,11 @@
#include "mutex.h"
#include "periph/gpio.h"
#include "periph/spi.h"
#include "periph_conf.h"
#include "board.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
#if SPI_0_EN || SPI_1_EN
#include "saml21_periph.h"
#if SPI_0_EN || SPI_1_EN
/**
* @brief Array holding one pre-initialized mutex for each SPI device