zhyinch
2021-08-16 0f740df1a59278f05b8fb28e92be5075dbc8aa86
源码/核心板/Src/ExternalDevices/beep.c
@@ -12,6 +12,13 @@
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
    GPIO_Init(KEY0_GPIO, &GPIO_InitStructure);
   
   //    // Enable GPIO used for beep
    GPIO_InitStructure.GPIO_Pin = RELAY1_PIN|RELAY2_PIN;
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_Init(RELAY1_GPIO, &GPIO_InitStructure);
//    // Enable GPIO used for beep
//    GPIO_InitStructure.GPIO_Pin = BEEP_PIN;
//    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;