sforkowany z mirror/meshtastic-firmware
Accidently checked in my rf deduplexer
rodzic
a02979d564
commit
f60922af34
|
@ -162,10 +162,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// This string must exactly match the case used in release file names or the android updater won't work
|
// This string must exactly match the case used in release file names or the android updater won't work
|
||||||
#define HW_VENDOR "tbeam"
|
#define HW_VENDOR "tbeam"
|
||||||
|
|
||||||
// Jm's TXRX Deduplexer
|
|
||||||
#define RADIO_TXRX 2
|
|
||||||
|
|
||||||
|
|
||||||
// #define BUTTON_NEED_PULLUP // if set we need to turn on the internal CPU pullup during sleep
|
// #define BUTTON_NEED_PULLUP // if set we need to turn on the internal CPU pullup during sleep
|
||||||
|
|
||||||
#define I2C_SDA 21
|
#define I2C_SDA 21
|
||||||
|
|
|
@ -245,12 +245,6 @@ void setup()
|
||||||
SEGGER_RTT_ConfigUpBuffer(SEGGER_STDOUT_CH, NULL, NULL, 1024, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
SEGGER_RTT_ConfigUpBuffer(SEGGER_STDOUT_CH, NULL, NULL, 1024, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Jm's TXRX Deduplexer
|
|
||||||
// if 0 - receive
|
|
||||||
// 1 - transmit
|
|
||||||
pinMode(RADIO_TXRX, OUTPUT);
|
|
||||||
digitalWrite(RADIO_TXRX, 0);
|
|
||||||
|
|
||||||
#ifdef USE_SEGGER
|
#ifdef USE_SEGGER
|
||||||
SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue