Skip to content

Commit 890b4ee

Browse files
committed
remove tasks for now.
1 parent 2a04dd8 commit 890b4ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/device/adamnet/serial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ adamSerial::adamSerial()
3030
response_len = 0;
3131
status_response[3] = 0x00; // character device
3232
serial_out_queue = xQueueCreate(16, sizeof(uint8_t));
33-
xTaskCreatePinnedToCore(serial_task, "adamnet_serial", 2048, this, 10, NULL,1);
33+
// xTaskCreatePinnedToCore(serial_task, "adamnet_serial", 2048, this, 10, NULL,1);
3434
}
3535

3636
adamSerial::~adamSerial()

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void main_setup()
197197
FileSystem *ptrfs = fnSDFAT.running() ? (FileSystem *)&fnSDFAT : (FileSystem *)&fnSPIFFS;
198198
adamPrinter::printer_type printer = adamPrinter::PRINTER_COLECO_ADAM;
199199
adamPrinter *ptr = new adamPrinter(ptrfs, printer);
200-
xTaskCreatePinnedToCore(printerTask,"foo",4096,ptr,10,NULL,1);
200+
// xTaskCreatePinnedToCore(printerTask,"foo",4096,ptr,10,NULL,1);
201201
fnPrinters.set_entry(0,ptr,printer,0);
202202
AdamNet.addDevice(ptr,ADAMNET_DEVICE_ID_PRINTER);
203203
} else
@@ -258,7 +258,7 @@ extern "C"
258258

259259
// Create a new high-priority task to handle the main loop
260260
// This is assigned to CPU1; the WiFi task ends up on CPU0
261-
#define MAIN_STACKSIZE 4096
261+
#define MAIN_STACKSIZE 16384
262262
#define MAIN_PRIORITY 10
263263
#define MAIN_CPUAFFINITY 1
264264
xTaskCreatePinnedToCore(fn_service_loop, "fnLoop",

0 commit comments

Comments
 (0)