mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
Revert "boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis."
Logic was correct as originally submitted.
This reverts commit 77eea3dd66.
This commit is contained in:
parent
6bff1f4df4
commit
541bfe9a5e
1 changed files with 2 additions and 2 deletions
|
|
@ -111,9 +111,9 @@ static void am335x_can_register(void)
|
|||
else
|
||||
{
|
||||
#ifdef CONFIG_AM335X_CAN0
|
||||
ret = can_register("/dev/can0", can);
|
||||
#else
|
||||
ret = can_register("/dev/can1", can);
|
||||
#else
|
||||
ret = can_register("/dev/can0", can);
|
||||
#endif
|
||||
if (ret < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue