mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-21 17:57:59 +00:00
messenger enabled, fm radio direction working.
This commit is contained in:
parent
867709af65
commit
5ddd409463
6
Makefile
6
Makefile
@ -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
|
||||
|
||||
#############################################################
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user