diff --git a/src/lgt/Kconfig b/src/lgt/Kconfig index 2025ee5e8..b34f9dcc1 100644 --- a/src/lgt/Kconfig +++ b/src/lgt/Kconfig @@ -77,4 +77,4 @@ config SERIAL_BAUD config SERIAL_PORT int default 0 -endif \ No newline at end of file +endif diff --git a/src/lgt/adc.c b/src/lgt/adc.c index b69280574..eae55959f 100644 --- a/src/lgt/adc.c +++ b/src/lgt/adc.c @@ -12,10 +12,10 @@ #include "sched.h" // sched_shutdown static const uint8_t adc_pins[] PROGMEM = { - GPIO('B', 5), GPIO('C', 0), GPIO('C', 1), GPIO('C', 2), + GPIO('B', 5), GPIO('C', 0), GPIO('C', 1), GPIO('C', 2), GPIO('C', 3), GPIO('C', 4), GPIO('C', 5), GPIO('D', 4), GPIO('D', 6), GPIO('D', 7), GPIO('E', 0), GPIO('E', 1), - GPIO('E', 2), GPIO('E', 6), + GPIO('E', 2), GPIO('E', 6), }; enum { ADC_ENABLE = (1< 115200 -#warning "Lgt8f328p always using cheap usb to uart ic, some of lgt8f328p cannot support high baudrate" +#warning "Lgt8f328p always using cheap usb to uart ic, " \ + "some of lgt8f328p cannot support high baudrate" #endif DECL_CONSTANT_STR("MCU", CONFIG_MCU); diff --git a/src/lgt/pindefine.h b/src/lgt/pindefine.h index 02348771a..c3d9c095e 100644 --- a/src/lgt/pindefine.h +++ b/src/lgt/pindefine.h @@ -3,5 +3,5 @@ #define PMCR _SFR_MEM8(0xF2) #define PINE _SFR_IO8(0x0C) -#define RCMCAL (*((volatile unsigned char *)0x66)) -#endif \ No newline at end of file +#define RCMCAL (*((volatile unsigned char *)0x66)) +#endif