Memory fix

This commit is contained in:
Jurica
2019-05-10 13:00:56 +02:00
committed by odri@aconno.de
parent 92141059d5
commit 202fcd39fa
3 changed files with 9 additions and 9 deletions
+6 -7
View File
@@ -291,22 +291,21 @@ int main(void)
DEFAULT_TASK_PARAMETERS,
TASK_PRIORITY(1),
&tempTask);
/*
xTaskCreate(gyroFunction,
"GYRO",
TASK_STACK_DEPTH(256),
DEFAULT_TASK_PARAMETERS,
TASK_PRIORITY(1),
&gyroTask);
*/
/*
xTaskCreate(bleBeaconFunction,
"BEACON",
TASK_STACK_DEPTH(256),
DEFAULT_TASK_PARAMETERS,
TASK_PRIORITY(1),
&bleTask);
*/
xTaskCreate(infraredFunction,
"INFRARED",
TASK_STACK_DEPTH(256),
@@ -389,7 +388,7 @@ int main(void)
applicationTimerStart();
// Initialize aconno BLE module
/*
AconnoBLE &myBLE = *getAconnoBLEInstance();
myBLE.initBLEStack();
uint16_t myUUID = BLE_EX_CHAR_UUID;
@@ -399,11 +398,11 @@ int main(void)
myChar.charInit(BLE_EX_CHAR_SIZE_B, WRITE, false, false, NULL, imageUpdate);
myService.addChar(&myChar);
myBLE.setTXPower(4);
*/
// Create a FreeRTOS task for the BLE stack.
// The task will run advertising_start() before entering its loop.
//nrf_sdh_freertos_init(NULL, NULL);
nrf_sdh_freertos_init(NULL, NULL);
NRF_LOG_INFO("HRS FreeRTOS example started.");
// Start FreeRTOS scheduler.