From d8e373f8231bcfc201e61ed60506de3f14c7983b Mon Sep 17 00:00:00 2001 From: loopur Date: Mon, 6 Aug 2018 16:22:36 +0800 Subject: [PATCH] Modify the compile error from variable definition --- src/main/drivers/barometer/barometer_qmp6988.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/barometer/barometer_qmp6988.c b/src/main/drivers/barometer/barometer_qmp6988.c index e014e6c6b..60aa80c63 100755 --- a/src/main/drivers/barometer/barometer_qmp6988.c +++ b/src/main/drivers/barometer/barometer_qmp6988.c @@ -139,8 +139,8 @@ bool qmp6988Detect(baroDev_t *baro) int Coe_b12_; int Coe_b21_; int Coe_bp3_; - u16 lb=0,hb=0; - u32 lw=0,hw=0,temp1,temp2; + uint16_t lb=0,hb=0; + uint32_t lw=0,hw=0,temp1,temp2; delay(20);