diff --git a/include/main.h b/include/main.h index 613b945..b652173 100644 --- a/include/main.h +++ b/include/main.h @@ -6,7 +6,7 @@ #include "config_data.h" #define SW_VER "EA00" -#define SW_DATE "13052021" +#define SW_DATE "23052021" #define SYSTICK_TICKS_PER_SECONDS 100 #define SYSTICK_TICKS_PERIOD 10 diff --git a/src/io.c b/src/io.c index 85df210..444b650 100644 --- a/src/io.c +++ b/src/io.c @@ -11,28 +11,22 @@ #include "station_config.h" void io_oc_init(void) { -#if (defined PARATNC_HWREV_C) GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOA, &GPIO_InitStructure); -#endif } void io_oc_output_low(void) { -#if (defined PARATNC_HWREV_C) GPIO_SetBits(GPIOA, GPIO_Pin_11); -#endif } void io_oc_output_hiz(void) { -#if (defined PARATNC_HWREV_C) GPIO_ResetBits(GPIOA, GPIO_Pin_11); -#endif }