move UartConfig function to common.c

This commit is contained in:
wgzAIIT
2023-04-18 15:38:52 +08:00
parent bbb8dd75f8
commit a9deff5cd0
5 changed files with 29 additions and 28 deletions
@@ -35,6 +35,7 @@
#define CONVERTHEX_alpha(c) (IS_AF(c) ? (c - 'A'+10) : (c - 'a'+10))
#define CONVERTHEX(c) (IS_09(c) ? (c - '0') : CONVERTHEX_alpha(c))
void UartConfig(void);
void Int2Str(uint8_t* str,int32_t intnum);
uint32_t Str2Int(uint8_t *inputstr,int32_t *intnum);
uint32_t GetIntegerInput(int32_t * num);
@@ -23,6 +23,7 @@
#define _YMODEM_H_
#include <stdint.h>
#include "common.h"
#define USER_FLASH_SIZE 0x100000 //Application package size is limited to 1M
#define PACKET_SEQNO_INDEX (1)