From cfe2a609d5ecfcb6f37c0ea429c376ecc3417c34 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Sat, 20 Mar 2021 11:50:39 +0100 Subject: [PATCH] Aligning delays in MD-UV3x0 AT1846S_init to the original firmware's ones --- platform/drivers/baseband/AT1846S_UV3x0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/drivers/baseband/AT1846S_UV3x0.c b/platform/drivers/baseband/AT1846S_UV3x0.c index 254f93bc..dfac9521 100644 --- a/platform/drivers/baseband/AT1846S_UV3x0.c +++ b/platform/drivers/baseband/AT1846S_UV3x0.c @@ -47,7 +47,7 @@ static inline void _reloadConfig() void AT1846S_init() { i2c_writeReg16(0x30, 0x0001); /* Soft reset */ - delayMs(100); + delayMs(160); i2c_writeReg16(0x30, 0x0004); // Set pdn_reg (power down pin) @@ -104,12 +104,12 @@ void AT1846S_init() // and set rx_on // and set mute when rxno // and set xtal_mode to 26MHz/13MHz - delayMs(100); + delayMs(160); i2c_writeReg16(0x30, 0x40A6); /* Start calibration */ - delayMs(100); + delayMs(160); i2c_writeReg16(0x30, 0x4006); /* Stop calibration */ - delayMs(100); + delayMs(160); i2c_writeReg16(0x40, 0x0031); }