zhyinch
2020-09-12 95e97a5cd0aa1bfd7c87e2bd66a9afbdd086e34e
源码/核心板/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;