ci(pre-commit): Apply automatic fixes · espressif/arduino-esp32@1292b07 (original) (raw)

`@@ -13,9 +13,9 @@

`

13

13

`#define USB_PRODUCT "T-LoRa-Pager"

`

14

14

``

15

15

`// ST7796

`

16

``

`-

#define DISP_WIDTH (222)

`

17

``

`-

#define DISP_HEIGHT (480)

`

18

``

`-

#define SD_CS (21)

`

``

16

`+

#define DISP_WIDTH (222)

`

``

17

`+

#define DISP_HEIGHT (480)

`

``

18

`+

#define SD_CS (21)

`

19

19

``

20

20

`static const uint8_t TX = 43;

`

21

21

`static const uint8_t RX = 44;

`

`@@ -30,61 +30,61 @@ static const uint8_t MOSI = 34;

`

30

30

`static const uint8_t MISO = 33;

`

31

31

`static const uint8_t SCK = 35;

`

32

32

``

33

``

`-

#define KB_INT (6)

`

34

``

`-

#define KB_BACKLIGHT (46)

`

``

33

`+

#define KB_INT (6)

`

``

34

`+

#define KB_BACKLIGHT (46)

`

35

35

``

36

36

`// Rotary

`

37

``

`-

#define ROTARY_A (40)

`

38

``

`-

#define ROTARY_B (41)

`

39

``

`-

#define ROTARY_C (7)

`

``

37

`+

#define ROTARY_A (40)

`

``

38

`+

#define ROTARY_B (41)

`

``

39

`+

#define ROTARY_C (7)

`

40

40

``

41

41

`// Interrupt IO port

`

42

``

`-

#define RTC_INT (1)

`

43

``

`-

#define NFC_INT (5)

`

44

``

`-

#define SENSOR_INT (8)

`

45

``

`-

#define NFC_CS (39)

`

46

``

-

47

``

`-

// ES8311

`

48

``

`-

#define I2S_WS (18)

`

49

``

`-

#define I2S_SCK (11)

`

50

``

`-

#define I2S_MCLK (10)

`

51

``

`-

#define I2S_SDOUT (45)

`

52

``

`-

#define I2S_SDIN (17)

`

``

42

`+

#define RTC_INT (1)

`

``

43

`+

#define NFC_INT (5)

`

``

44

`+

#define SENSOR_INT (8)

`

``

45

`+

#define NFC_CS (39)

`

``

46

+

``

47

`+

// ES8311

`

``

48

`+

#define I2S_WS (18)

`

``

49

`+

#define I2S_SCK (11)

`

``

50

`+

#define I2S_MCLK (10)

`

``

51

`+

#define I2S_SDOUT (45)

`

``

52

`+

#define I2S_SDIN (17)

`

53

53

``

54

54

`// GPS

`

55

``

`-

#define GPS_TX (12)

`

56

``

`-

#define GPS_RX (4)

`

57

``

`-

#define GPS_PPS (13)

`

``

55

`+

#define GPS_TX (12)

`

``

56

`+

#define GPS_RX (4)

`

``

57

`+

#define GPS_PPS (13)

`

58

58

``

59

59

`// LoRa, SD, ST25R3916 card share SPI bus

`

60

``

`-

#define LORA_SCK (SCK) // share spi bus

`

61

``

`-

#define LORA_MISO (MISO) // share spi bus

`

62

``

`-

#define LORA_MOSI (MOSI) // share spi bus

`

63

``

`-

#define LORA_CS (36)

`

64

``

`-

#define LORA_RST (47)

`

65

``

`-

#define LORA_BUSY (48)

`

66

``

`-

#define LORA_IRQ (14)

`

``

60

`+

#define LORA_SCK (SCK) // share spi bus

`

``

61

`+

#define LORA_MISO (MISO) // share spi bus

`

``

62

`+

#define LORA_MOSI (MOSI) // share spi bus

`

``

63

`+

#define LORA_CS (36)

`

``

64

`+

#define LORA_RST (47)

`

``

65

`+

#define LORA_BUSY (48)

`

``

66

`+

#define LORA_IRQ (14)

`

67

67

``

68

68

`// SPI interface display

`

69

``

`-

#define DISP_MOSI (MOSI)

`

70

``

`-

#define DISP_MISO (MISO)

`

71

``

`-

#define DISP_SCK (SCK)

`

72

``

`-

#define DISP_RST (-1)

`

73

``

`-

#define DISP_CS (38)

`

74

``

`-

#define DISP_DC (37)

`

75

``

`-

#define DISP_BL (42)

`

``

69

`+

#define DISP_MOSI (MOSI)

`

``

70

`+

#define DISP_MISO (MISO)

`

``

71

`+

#define DISP_SCK (SCK)

`

``

72

`+

#define DISP_RST (-1)

`

``

73

`+

#define DISP_CS (38)

`

``

74

`+

#define DISP_DC (37)

`

``

75

`+

#define DISP_BL (42)

`

76

76

``

77

77

`// External expansion chip IO definition

`

78

``

`-

#define EXPANDS_DRV_EN (0)

`

79

``

`-

#define EXPANDS_AMP_EN (1)

`

80

``

`-

#define EXPANDS_KB_RST (2)

`

81

``

`-

#define EXPANDS_LORA_EN (3)

`

82

``

`-

#define EXPANDS_GPS_EN (4)

`

83

``

`-

#define EXPANDS_NFC_EN (5)

`

84

``

`-

#define EXPANDS_DISP_RST (6)

`

85

``

`-

#define EXPANDS_GPS_RST (7)

`

86

``

`-

#define EXPANDS_KB_EN (8)

`

87

``

`-

#define EXPANDS_GPIO_EN (9)

`

``

78

`+

#define EXPANDS_DRV_EN (0)

`

``

79

`+

#define EXPANDS_AMP_EN (1)

`

``

80

`+

#define EXPANDS_KB_RST (2)

`

``

81

`+

#define EXPANDS_LORA_EN (3)

`

``

82

`+

#define EXPANDS_GPS_EN (4)

`

``

83

`+

#define EXPANDS_NFC_EN (5)

`

``

84

`+

#define EXPANDS_DISP_RST (6)

`

``

85

`+

#define EXPANDS_GPS_RST (7)

`

``

86

`+

#define EXPANDS_KB_EN (8)

`

``

87

`+

#define EXPANDS_GPIO_EN (9)

`

88

88

``

89

89

`// Peripheral definition exists

`

90

90

`#define USING_AUDIO_CODEC

`