nrhw: fix control pins for dual-can shield

- control io were swapped
- termination was applied to wrong port

BugzId: 60563
This commit is contained in:
Rene Straub 2019-12-12 09:20:44 +01:00
parent a93f6f3874
commit 7620f09ce4
3 changed files with 6 additions and 6 deletions

View File

@ -9,8 +9,8 @@
#define NETBIRD_GPIO_RST_SHIELD_N GPIO_TO_PIN(0, 27)
#define NETBIRD_GPIO_LATCH GPIO_TO_PIN(0, 7)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 8)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 8)
static int shield_slot_initialized = 0;

View File

@ -11,8 +11,8 @@
#define NETBIRD_GPIO_RST_SHIELD_N GPIO_TO_PIN(0, 27)
#define NETBIRD_GPIO_LATCH GPIO_TO_PIN(0, 7)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 8)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 8)
static int shield_slot_initialized = 0;

View File

@ -11,8 +11,8 @@
#define NETBIRD_GPIO_RST_SHIELD_N GPIO_TO_PIN(0, 27)
#define NETBIRD_GPIO_LATCH GPIO_TO_PIN(0, 7)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 8)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_0 GPIO_TO_PIN(1, 10)
#define NETBIRD_GPIO_MODE_1 GPIO_TO_PIN(1, 8)
static int shield_slot_initialized = 0;