generated from hulk/gd32e23x_template
修改变量的声明位置和修饰符
This commit is contained in:
parent
7075fd16ea
commit
7ffb8c0612
@ -34,7 +34,7 @@ OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include "gd32e23x_it.h"
|
#include "gd32e23x_it.h"
|
||||||
|
|
||||||
__IO uint16_t g_capture_value;
|
extern uint16_t g_capture_value;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief this function handles NMI exception
|
\brief this function handles NMI exception
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
volatile uint8_t g_temperature_uint8[2] = {0};
|
volatile uint8_t g_temperature_uint8[2] = {0};
|
||||||
|
volatile uint16_t g_capture_value;
|
||||||
extern uint16_t g_capture_value;
|
|
||||||
uint16_t g_distance_uint16;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief main function
|
\brief main function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user