Skip to content

Commit

Permalink
Add dict_upload method
Browse files Browse the repository at this point in the history
  • Loading branch information
flosse committed Oct 7, 2020
1 parent aa104fc commit 2537066
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/master.rs
Expand Up @@ -491,6 +491,14 @@ impl Master {
Ok(())
}

#[cfg(feature = "sncn")]
pub fn dict_upload(&mut self, slave_pos: SlavePos) -> Result<()> {
let mut data = ec::ec_ioctl_slave_dict_upload_t::default();
data.slave_position = u16::from(slave_pos);
ioctl!(self, ec::ioctl::SLAVE_DICT_UPLOAD, &mut data)?;
Ok(())
}

// XXX missing: write_idn, read_idn,
// application_time, sync_reference_clock, sync_slave_clocks,
// reference_clock_time, sync_monitor_queue, sync_monitor_process
Expand Down

0 comments on commit 2537066

Please sign in to comment.