mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-03 07:04:54 -04:00
Squashed commit of the following:
commit 2e25bff15413f2365f1b18c901f93297ce07c645 Author: jeremy <jeremy@ubuntu> Date: Thu Sep 12 10:19:07 2024 -0400 Adds t-echo support commit aa44625847179c5b3c4d03b9f7e062f409da0d8a Author: jeremy <jeremy@ubuntu> Date: Thu Sep 12 10:19:07 2024 -0400 Adds t-echo support
This commit is contained in:
parent
07b7e28c74
commit
02f9dc1345
8 changed files with 136 additions and 12 deletions
|
@ -744,6 +744,8 @@ void sx126x::enableTCXO() {
|
|||
uint8_t buf[4] = {MODE_TCXO_3_3V_6X, 0x00, 0x00, 0xFF};
|
||||
#elif BOARD_MODEL == BOARD_TBEAM
|
||||
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||
#elif BOARD_MODEL == BOARD_TECHO
|
||||
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||
#elif BOARD_MODEL == BOARD_T3S3
|
||||
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||
#else
|
||||
|
@ -2563,6 +2565,9 @@ void sx128x::disableCrc()
|
|||
byte sx128x::random()
|
||||
{
|
||||
// todo: implement
|
||||
return 0x4; //chosen by fair die roll
|
||||
//guarenteed to be random
|
||||
//https://xkcd.com/221/
|
||||
}
|
||||
|
||||
void sx128x::setSPIFrequency(uint32_t frequency)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue