Skip to content

Commit

Permalink
remove tasks for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Jan 10, 2022
1 parent 2a04dd8 commit 890b4ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/device/adamnet/serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 890b4ee

Please sign in to comment.