Skip to content

Commit

Permalink
Fixing RPI (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed May 16, 2024
1 parent a7a02fe commit dbf6197
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RPI/Top/instances.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ module RPI {
Os::TaskString name("ReceiveTask");
// Uplink is configured for receive so a socket task is started
comm.configure(state.hostName, state.portNumber);
comm.startSocketTask(
comm.start(
name,
ConfigConstants::comm::PRIORITY,
ConfigConstants::comm::STACK_SIZE
Expand All @@ -267,11 +267,11 @@ module RPI {
"""

phase Fpp.ToCpp.Phases.stopTasks """
comm.stopSocketTask();
comm.stop();
"""

phase Fpp.ToCpp.Phases.freeThreads """
(void) comm.joinSocketTask(nullptr);
(void) comm.join();
"""

}
Expand Down Expand Up @@ -323,7 +323,7 @@ module RPI {

phase Fpp.ToCpp.Phases.startTasks """
if (Init::status) {
uartDrv.startReadThread();
uartDrv.start();
}
else {
Fw::Logger::logMsg("[ERROR] Initialization failed; not starting UART driver\\n");
Expand Down

0 comments on commit dbf6197

Please sign in to comment.