generated from hulk/gd32e23x_template_cmake_vscode
finish command
This commit is contained in:
@@ -39,6 +39,8 @@ OF SUCH DAMAGE.
|
||||
#include "command.h"
|
||||
#include <stdio.h>
|
||||
|
||||
bool g_status_switch = false;
|
||||
|
||||
/*!
|
||||
\brief main function
|
||||
\param[in] none
|
||||
@@ -52,12 +54,6 @@ int main(void)
|
||||
systick_config();
|
||||
rs485_init();
|
||||
|
||||
// rcu_periph_clock_enable(RCU_GPIOA);
|
||||
// gpio_mode_set(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_1);
|
||||
// gpio_output_options_set(GPIOA, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_1);
|
||||
// gpio_bit_set(GPIOA, GPIO_PIN_1);
|
||||
|
||||
|
||||
led_init();
|
||||
|
||||
printf("Hello USART0!");
|
||||
|
Reference in New Issue
Block a user