Skip to content
Snippets Groups Projects
Commit 5d4cfd6d authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Remove unneccessary settings (board-specific settings are either done in...

Remove unneccessary settings (board-specific settings are either done in MyBoardNRF5.cpp or in the board variant if some ohter nrf5-based board definition is used. No need to repeat them here
parent ecaf4f85
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ NodeManager provides built-in implementation of a number of sensors through ad-h
//#define MY_DEBUG_VERBOSE_RF24
// Advanced settings
#define My_BAUD_RATE 57600
#define MY_BAUD_RATE 115200
#define MY_SMART_SLEEP_WAIT_DURATION_MS 500
#define MY_SPLASH_SCREEN_DISABLED
//#define MY_DISABLE_RAM_ROUTING_TABLE_FEATURE
......@@ -150,13 +150,6 @@ void before() {
blinkityBlink(1);
blinkityBlink(1);
#ifdef CHIP_NRF5
// Reassign Serial Pins as given in the board definition
// MY_SERIALDEVICE.setPins(PIN_SERIAL_RX, 13);
#endif
// setup the serial port baud rate
// MY_SERIALDEVICE.begin(MY_BAUD_RATE);
/*
* Configure your sensors
*/
......@@ -199,16 +192,6 @@ void setup() {
hwPinMode(LED_BUILTIN,OUTPUT_D0H1);
blinkityBlink(3); //signify power-up and start of operations
// NRF_CLOCK->INTENSET = B11; // enable interrupts for EVENTS_HFCLKSTARTED and EVENTS_LFCLKSTARTED
// NRF_CLOCK->TASKS_HFCLKSTART = 1; //start the high frequency crystal oscillator clock
// while (!(NRF_CLOCK->EVENTS_HFCLKSTARTED)) {} //wait until high frequency crystal oscillator clock is up to speed and working
#ifdef CHIP_NRF5
// Setup I2C pins (custom pins given in the board definition!)
// Wire.setPins(SDA, SCL);
// Wire.begin();
#endif
// call NodeManager setup routine
nodeManager.setup();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment