messenger enabled, fm radio direction working.

This commit is contained in:
Nunu 2024-01-12 17:04:29 +01:00
parent 867709af65
commit 5ddd409463
2 changed files with 4 additions and 5 deletions

View File

@ -49,9 +49,9 @@ ENABLE_SCAN_RANGES := 1
ENABLE_SPECTRUM_COPY_VFO := 1
ENABLE_SPECTRUM_SHOW_CHANNEL_NAME := 1
ENABLE_SPECTRUM_CHANNEL_SCAN := 1
ENABLE_MESSENGER := 0
ENABLE_MESSENGER_DELIVERY_NOTIFICATION := 0
ENABLE_MESSENGER_NOTIFICATION := 0
ENABLE_MESSENGER := 1
ENABLE_MESSENGER_DELIVERY_NOTIFICATION := 1
ENABLE_MESSENGER_NOTIFICATION := 1
ENABLE_MESSENGER_UART := 0
#############################################################

View File

@ -116,7 +116,6 @@ void BK1080_TuneNext(bool direction)
uint16_t reg_11;
uint16_t reg_02;
reg_02 = BK1080_ReadRegister(BK1080_REG_02_POWER_CONFIGURATION);
reg_11 = BK1080_ReadRegister(BK1080_REG_11);
@ -126,7 +125,7 @@ void BK1080_TuneNext(bool direction)
// seek bit 1, mute, direction
BK1080_WriteRegister(
BK1080_REG_02_POWER_CONFIGURATION, (reg_02 | (1u << 8) | (direction << 9) | (1u << 14) )
BK1080_REG_02_POWER_CONFIGURATION, (1u << 0) | (1u << 8) | (direction << 9) | (1u << 14)
);
// wait until we find the channel