Memory fix
This commit is contained in:
+6
-7
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user