mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 01:20:44 +00:00
sx1280: report firmware version
This commit is contained in:
parent
8bdf62dcfd
commit
4588b287f4
@ -965,6 +965,9 @@ void ll_radio_on(void){
|
|||||||
// Go back to Frequcency Synthesis Mode, reduces transition time between Rx<->TX
|
// Go back to Frequcency Synthesis Mode, reduces transition time between Rx<->TX
|
||||||
Radio.SetAutoFS(1);
|
Radio.SetAutoFS(1);
|
||||||
|
|
||||||
|
uint16_t fw_version = SX1280GetFirmwareVersion();
|
||||||
|
printf("FW Version: 0x%04x\n", fw_version);
|
||||||
|
|
||||||
// quick test
|
// quick test
|
||||||
uint8_t data[] = {1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128 };
|
uint8_t data[] = {1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128 };
|
||||||
Radio.WriteBuffer(0, data, sizeof(data));
|
Radio.WriteBuffer(0, data, sizeof(data));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user