Skip to content

Commit

Permalink
Renamed "interfaces" folder and .rs file to "channels"
Browse files Browse the repository at this point in the history
  • Loading branch information
george-cosma committed Jan 10, 2024
1 parent c44f626 commit f14e916
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::channels::traits::BoardChannel;
use crate::channels::JLinkChannel;
use crate::errors::TockloaderError;
use crate::interfaces::traits::BoardChannel;
use crate::interfaces::JLinkChannel;

impl BoardChannel for JLinkChannel {
fn open(&mut self) -> Result<(), TockloaderError> {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::errors::TockloaderError;
use crate::interfaces::traits::BoardChannel;
use crate::interfaces::OpenOCDChannel;

impl BoardChannel for OpenOCDChannel {
fn open(&mut self) -> Result<(), TockloaderError> {
todo!()
}
}
use crate::channels::traits::BoardChannel;
use crate::channels::OpenOCDChannel;
use crate::errors::TockloaderError;

impl BoardChannel for OpenOCDChannel {
fn open(&mut self) -> Result<(), TockloaderError> {
todo!()
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::errors::TockloaderError;
use crate::interfaces::traits::BoardChannel;
use crate::interfaces::SerialChannel;

impl BoardChannel for SerialChannel {
fn open(&mut self) -> Result<(), TockloaderError> {
todo!()
}
}
use crate::channels::traits::BoardChannel;
use crate::channels::SerialChannel;
use crate::errors::TockloaderError;

impl BoardChannel for SerialChannel {
fn open(&mut self) -> Result<(), TockloaderError> {
todo!()
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod channels;
mod cli;
mod errors;
mod interfaces;
use cli::make_cli;

fn main() {
Expand Down

0 comments on commit f14e916

Please sign in to comment.