Skip to content
Snippets Groups Projects
Commit 3b14a584 authored by Bas Stottelaar's avatar Bas Stottelaar
Browse files

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

parent b81e6b88
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
/** @} */
......
......@@ -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 */
/** @} */
......
......@@ -60,7 +60,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1)
/** @} */
#ifdef __cplusplus
......
......@@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)
......
......@@ -74,7 +74,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)
......
......@@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)
......
......@@ -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
......
......@@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)
......
......@@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_USE_USCI
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment