bnr 0.1.2

Pure Rust implementation of the BNR XFS USB communication protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use bnr::{self, init, sys_config, Result};

use super::common;

#[test]
fn test_set_capabilities() -> Result<()> {
    let _lock = common::init();

    init::open(None, None, None)?;
    init::reset()?;

    let _caps = sys_config::set_capabilities(&bnr::Capabilities::new())?;

    init::close()?;

    Ok(())
}