diff --git a/lib/device/adamnet/serial.cpp b/lib/device/adamnet/serial.cpp index 9baf5b230..f79b570cb 100644 --- a/lib/device/adamnet/serial.cpp +++ b/lib/device/adamnet/serial.cpp @@ -30,7 +30,7 @@ adamSerial::adamSerial() response_len = 0; status_response[3] = 0x00; // character device serial_out_queue = xQueueCreate(16, sizeof(uint8_t)); - xTaskCreatePinnedToCore(serial_task, "adamnet_serial", 2048, this, 10, NULL,1); + // xTaskCreatePinnedToCore(serial_task, "adamnet_serial", 2048, this, 10, NULL,1); } adamSerial::~adamSerial() diff --git a/src/main.cpp b/src/main.cpp index 13af096e7..51dd11058 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -197,7 +197,7 @@ void main_setup() FileSystem *ptrfs = fnSDFAT.running() ? (FileSystem *)&fnSDFAT : (FileSystem *)&fnSPIFFS; adamPrinter::printer_type printer = adamPrinter::PRINTER_COLECO_ADAM; adamPrinter *ptr = new adamPrinter(ptrfs, printer); - xTaskCreatePinnedToCore(printerTask,"foo",4096,ptr,10,NULL,1); +// xTaskCreatePinnedToCore(printerTask,"foo",4096,ptr,10,NULL,1); fnPrinters.set_entry(0,ptr,printer,0); AdamNet.addDevice(ptr,ADAMNET_DEVICE_ID_PRINTER); } else @@ -258,7 +258,7 @@ extern "C" // Create a new high-priority task to handle the main loop // This is assigned to CPU1; the WiFi task ends up on CPU0 - #define MAIN_STACKSIZE 4096 + #define MAIN_STACKSIZE 16384 #define MAIN_PRIORITY 10 #define MAIN_CPUAFFINITY 1 xTaskCreatePinnedToCore(fn_service_loop, "fnLoop",