zhyinch
2022-02-21 3674e113e9923184e8f1bd497c2f7832fc959d29
源码/核心板/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;