Skip to content

Commit

Permalink
Merge pull request #677 from SuperHouse/revert-671-master
Browse files Browse the repository at this point in the history
Revert "Shrink gpio<>iomux maps"
  • Loading branch information
UncleRus authored Aug 22, 2018
2 parents 9353f06 + d627251 commit 47cc177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/esp_iomux.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include "esp/iomux.h"
#include "common_macros.h"

const static IRAM_DATA uint8_t IOMUX_TO_GPIO[] = { 12, 13, 14, 15, 3, 1, 6, 7, 8, 9, 10, 11, 0, 2, 4, 5 };
const static IRAM_DATA uint8_t GPIO_TO_IOMUX[] = { 12, 5, 13, 4, 14, 15, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3 };
const static IRAM_DATA uint32_t IOMUX_TO_GPIO[] = { 12, 13, 14, 15, 3, 1, 6, 7, 8, 9, 10, 11, 0, 2, 4, 5 };
const static IRAM_DATA uint32_t GPIO_TO_IOMUX[] = { 12, 5, 13, 4, 14, 15, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3 };

uint8_t IRAM gpio_to_iomux(const uint8_t gpio_number)
{
Expand Down

0 comments on commit 47cc177

Please sign in to comment.