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:
parent
b81e6b8898
commit
3b14a584b8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user