12345678910111213141516171819202122232425 |
- #include "global.h"
- #include "queue.h"
- // #define VAR_DEFINE
- SqQueue CanQueueImportant; // CANÖØÒªÊý¾Ý¶ÓÁÐ
- updata update_info = {0};
- updata *var_get_info(void)
- {
- return &update_info;
- }
- u8 var_get_result(void)
- {
- u8 value = 0;
- value = var_get_info()->result;
- return value;
- }
- void var_set_result(u8 value)
- {
- var_get_info()->result = value;
- }
|