From 0831d1caeb4b34103470437552d5dd331d2c6f4f Mon Sep 17 00:00:00 2001
From: guanjiao ren <guanjiao.ren@ninebot.com>
Date: 星期一, 21 五月 2018 16:25:48 +0800
Subject: [PATCH] 将uint8全部修改为uint8_t,其他以此类推

---
 源码/核心板/Src/decadriver/deca_param_types.h |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/decadriver/deca_param_types.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/decadriver/deca_param_types.h"
index d923f67..d8e17fc 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/decadriver/deca_param_types.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/decadriver/deca_param_types.h"
@@ -12,10 +12,11 @@
 #ifndef _DECA_PARAM_TYPES_H_
 #define _DECA_PARAM_TYPES_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-#include "deca_types.h"
 
 #define NUM_BR 3
 #define NUM_PRF 2
@@ -29,25 +30,25 @@
 
 typedef struct
 {
-    uint32 lo32;
-    uint16 target[NUM_PRF];
+    uint32_t lo32;
+    uint16_t target[NUM_PRF];
 } agc_cfg_struct ;
 
 extern const agc_cfg_struct agc_config ;
 
 //SFD threshold settings for 110k, 850k, 6.8Mb standard and non-standard
-extern const uint16 sftsh[NUM_BR][NUM_SFD];
+extern const uint16_t sftsh[NUM_BR][NUM_SFD];
 
-extern const uint16 dtune1[NUM_PRF];
+extern const uint16_t dtune1[NUM_PRF];
 
 #define XMLPARAMS_VERSION	(1.17f)
 
-extern const uint8 pll2_config[NUM_CH][5];
-extern const uint8 rx_config[NUM_BW];
-extern const uint32 tx_config[NUM_CH];
-extern const uint8 dwnsSFDlen[NUM_BR];				//length of SFD for each of the bitrates
-extern const uint32 digital_bb_config[NUM_PRF][NUM_PACS];
-extern const uint8 chan_idx[NUM_CH_SUPPORTED];
+extern const uint8_t pll2_config[NUM_CH][5];
+extern const uint8_t rx_config[NUM_BW];
+extern const uint32_t tx_config[NUM_CH];
+extern const uint8_t dwnsSFDlen[NUM_BR];				//length of SFD for each of the bitrates
+extern const uint32_t digital_bb_config[NUM_PRF][NUM_PACS];
+extern const uint8_t chan_idx[NUM_CH_SUPPORTED];
 
 #define PEAK_MULTPLIER (0x60)	//3 -> (0x3 * 32) & 0x00E0 
 #define N_STD_FACTOR (13)
@@ -56,7 +57,7 @@
 #define LDE_PARAM3_16 (0x1607)
 #define LDE_PARAM3_64 (0x0607)
 
-extern const uint16 lde_replicaCoeff[PCODES];
+extern const uint16_t lde_replicaCoeff[PCODES];
 
 #ifdef __cplusplus
 }

--
Gitblit v1.9.3