Skip to content

Commit

Permalink
work around type issue with LinuxSerial (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
danjwait authored and LeStarch committed Jun 29, 2022
1 parent fb2b4af commit 1d00c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ namespace Drv {
}

void LinuxSerialDriverComponentImpl ::
startReadThread(NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity) {
startReadThread(NATIVE_UINT_TYPE priority, NATIVE_UINT_TYPE stackSize, NATIVE_UINT_TYPE cpuAffinity) {

Os::TaskString task("SerReader");
Os::Task::TaskStatus stat = this->m_readTask.start(task, serialReadTaskEntry, this, priority, stackSize, cpuAffinity);
Expand Down
2 changes: 1 addition & 1 deletion Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace Drv {
//! start the serial poll thread.
//! buffSize is the max receive buffer size
//!
void startReadThread(NATIVE_INT_TYPE priority = Os::Task::TASK_DEFAULT, NATIVE_INT_TYPE stackSize = Os::Task::TASK_DEFAULT, NATIVE_INT_TYPE cpuAffinity = Os::Task::TASK_DEFAULT);
void startReadThread(NATIVE_UINT_TYPE priority = Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE stackSize = Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE cpuAffinity = Os::Task::TASK_DEFAULT);

//! Quit thread
void quitReadThread();
Expand Down

0 comments on commit 1d00c26

Please sign in to comment.