1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: *: remove SPI_*_EN now rework is merged

This commit is contained in:
Bas Stottelaar 2017-01-31 19:38:41 +01:00
parent b81e6b8898
commit 3b14a584b8
10 changed files with 2 additions and 11 deletions

View File

@ -79,7 +79,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR /* Power Reduction Register is PRR */
/** @} */

View File

@ -96,7 +96,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR0 /* Power Reduction Register is PRR0 */
/** @} */

View File

@ -60,7 +60,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1)
/** @} */
#ifdef __cplusplus

View File

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

View File

@ -74,7 +74,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

View File

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

View File

@ -103,8 +103,7 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR0 /* Power Reduction Resgister */
#define MEGA_PRR PRR0 /* Power Reduction Register */
/** @} */
#ifdef __cplusplus

View File

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

View File

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_USE_USCI

View File

@ -41,7 +41,7 @@ void spi_init(spi_t bus)
/* power off the SPI peripheral */
MEGA_PRR |= (1 << PRSPI);
/* trigger the pin configuration */
spi_init_pins(bus);;
spi_init_pins(bus);
}
void spi_init_pins(spi_t bus)