AP_HAL_Linux: fix copy and paste error on gpio table

This commit is contained in:
Lucas De Marchi committed 2018-06-26 07:32:08 -07:00
1 parent 9eb53e333b
commit d31e85e738
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -23,6 +23,6 @@ const unsigned Linux::GPIO_Sysfs::pin_table[] = {
const uint8_t Linux::GPIO_Sysfs::n_pins = _EDGE_GPIO_MAX;
static_assert(ARRAY_SIZE(Linux::GPIO_Sysfs::pin_table) == _EDGE_GPIO_MAX,
"GPIO pin_table must have the same size of entries in enum gpio_minnow");
"GPIO pin_table must have the same size of entries in enum edge");
#endif
+1 -1
View File
@@ -19,6 +19,6 @@ const unsigned Linux::GPIO_Sysfs::pin_table[] = {
const uint8_t Linux::GPIO_Sysfs::n_pins = _NAVIO_GPIO_MAX;
static_assert(ARRAY_SIZE(Linux::GPIO_Sysfs::pin_table) == _NAVIO_GPIO_MAX,
"GPIO pin_table must have the same size of entries in enum gpio_minnow");
"GPIO pin_table must have the same size of entries in enum gpio_navio");
#endif
+1 -1
View File
@@ -29,6 +29,6 @@ const unsigned Linux::GPIO_Sysfs::pin_table[] = {
const uint8_t Linux::GPIO_Sysfs::n_pins = _NAVIO2_GPIO_MAX;
static_assert(ARRAY_SIZE(Linux::GPIO_Sysfs::pin_table) == _NAVIO2_GPIO_MAX,
"GPIO pin_table must have the same size of entries in enum gpio_minnow");
"GPIO pin_table must have the same size of entries in enum gpio_navio2");
#endif