Skip to content

Commit

Permalink
quick fix on project generation.
Browse files Browse the repository at this point in the history
Added crate:: for cumsgs generation.
  • Loading branch information
gbin committed Dec 2, 2024
1 parent 5066f0a commit 5dfa28e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/cu_full/copperconfig.ron
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
// Makes a connection from the source to the task and from the task to the sink.
cnx: [
(src: "src", dst: "t-0", msg: "tasks::MyPayload"),
(src: "t-0", dst: "sink", msg: "tasks::MyPayload"),
(src: "src", dst: "t-0", msg: "crate::tasks::MyPayload"),
(src: "t-0", dst: "sink", msg: "crate::tasks::MyPayload"),
],
)
5 changes: 2 additions & 3 deletions templates/cu_full/src/logreader.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
pub mod tasks;

use cu29::cutask::CuMsg as _CuMsg;
use cu29_derive::gen_cumsgs;
use cu29_export::run_cli;

/// This will create the CuMsgs that is specific to your copper project.
/// It is used to instruct the log reader how to decode the logs.
// This will create the CuMsgs that is specific to your copper project.
// It is used to instruct the log reader how to decode the logs.
gen_cumsgs!("copperconfig.ron");

fn main() {
Expand Down

0 comments on commit 5dfa28e

Please sign in to comment.