dect: coa: fix syncying in PP/slave mode
The SyncLoop needs to manually reinitialize the radio since the individual receive functions don't do this anymore. Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
a5bec753cc
commit
463f33bcc1
|
@ -398,7 +398,8 @@ Sync: JMP RFInit
|
|||
|
||||
SFieldFound: WNT 23
|
||||
P_SC 0x00
|
||||
SyncLock: JMP RX_P00
|
||||
SyncLock: JMP RFInit
|
||||
JMP RX_P00
|
||||
U_INT0
|
||||
WNT 22
|
||||
SyncLoop: BR Sync
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "sc1442x_firmware.h"
|
||||
|
||||
const unsigned char sc1442x_firmware[] = {
|
||||
0x01, 0x01, 0x01, 0xf3, 0x0d, 0x00, 0x09, 0x01,
|
||||
0x01, 0x01, 0x01, 0xf4, 0x0d, 0x00, 0x09, 0x01,
|
||||
0x08, 0x01, 0x09, 0x01, 0x08, 0x01, 0x09, 0x01,
|
||||
0x08, 0x01, 0x09, 0x01, 0x08, 0x01, 0x09, 0x01,
|
||||
0x08, 0x01, 0x09, 0x01, 0x08, 0x01, 0x61, 0x00,
|
||||
|
@ -66,8 +66,8 @@ const unsigned char sc1442x_firmware[] = {
|
|||
0x09, 0xfa, 0xea, 0x20, 0xed, 0x42, 0x28, 0x00,
|
||||
0x09, 0x40, 0x26, 0x00, 0x29, 0x00, 0x08, 0x14,
|
||||
0x03, 0xed, 0x20, 0x00, 0x6b, 0x00, 0x08, 0x17,
|
||||
0x01, 0xdf, 0x08, 0x17, 0xea, 0x00, 0x02, 0x38,
|
||||
0x61, 0x00, 0x08, 0x16, 0x01, 0xdf, 0x0f, 0x00,
|
||||
0xfa, 0x10, 0x09, 0x0a, 0x33, 0x69, 0x09, 0x08,
|
||||
0x20, 0x00, 0x09, 0x0a, 0xe9, 0x00, 0xe8, 0x04,
|
||||
0x62, 0x00, 0x0b, 0x00, 0x01, 0xde};
|
||||
0x01, 0xdf, 0x08, 0x17, 0xea, 0x00, 0x02, 0xb9,
|
||||
0x02, 0x38, 0x61, 0x00, 0x08, 0x16, 0x01, 0xdf,
|
||||
0x0f, 0x00, 0xfa, 0x10, 0x09, 0x0a, 0x33, 0x69,
|
||||
0x09, 0x08, 0x20, 0x00, 0x09, 0x0a, 0xe9, 0x00,
|
||||
0xe8, 0x04, 0x62, 0x00, 0x0b, 0x00, 0x01, 0xde};
|
||||
|
|
|
@ -36,12 +36,12 @@ extern const unsigned char sc1442x_firmware[510];
|
|||
#define Slot21 0x30
|
||||
#define Slot22 0x32
|
||||
#define Slot23 0x34
|
||||
#define RFStart 0xFE
|
||||
#define RFStart 0xFF
|
||||
#define RFInit 0xB9
|
||||
#define SyncInit 0xDE
|
||||
#define Sync 0xDF
|
||||
#define SyncLock 0xEF
|
||||
#define SyncLoop 0xF2
|
||||
#define SyncLoop 0xF3
|
||||
#define ClockSyncOn 0x73
|
||||
#define ClockSyncOff 0x7B
|
||||
#define ClockAdjust 0x77
|
||||
|
|
Reference in New Issue