cpu/atmega2560: adapted to changed GPIO driver IF

dev/timer
Hauke Petersen 8 years ago
parent 5abd2ffc0a
commit 4d34100585

@ -0,0 +1,35 @@
/*
* Copyright (C) 2015 Freie Universität Berlin
*
* 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_atmega2560
* @{
*
* @file
* @brief CPU specific definitions for internal peripheral handling
*
* @author Hauke Petersen <hauke.peterse@fu-berlin.de>
*/
#ifndef PERIPH_CPU_H_
#define PERIPH_CPU_H_
#include "periph/dev_enums.h"
#ifdef __cplusplus
extern "C" {
#endif
/* nothing defined here so far... */
#ifdef __cplusplus
}
#endif
#endif /* PERIPH_CPU_H_ */
/** @} */

@ -36,12 +36,7 @@ typedef struct {
int gpio_init_out(gpio_t dev, gpio_pp_t pushpull)
{
return -1;
}
int gpio_init_in(gpio_t dev, gpio_pp_t pushpull)
int gpio_init(gpio_t dev, gpio_dir_t dir, gpio_pp_t pushpull)
{
return -1;
}

Loading…
Cancel
Save