1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

tests/drivers/candev: Drop SAME54-XPRO hack

Now that power management of the CAN transceiver is done by the driver,
we do no longer need a per-board hack in the app.
This commit is contained in:
Marian Buschsieweke 2025-03-11 21:25:33 +01:00
parent 785e2909c4
commit a9ff36d68e
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41

View File

@ -19,8 +19,6 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include <isrpipe.h>
#include <stdio.h>
#include <stdlib.h>
@ -283,10 +281,6 @@ int main(void)
puts("Initializing CAN periph device");
can_init(&periph_dev, &(candev_conf[0]));
candev = &(periph_dev.candev);
#if defined(BOARD_SAME54_XPRO)
gpio_init(AT6561_STBY_PIN, GPIO_OUT);
gpio_clear(AT6561_STBY_PIN);
#endif
#elif defined(MODULE_MCP2515)
puts("Initializing MCP2515");
candev_mcp2515_init(&mcp2515_dev, &candev_mcp2515_conf[0]);