MCPcopy Create free account
hub / github.com/RizeCrime/linuxblaster_control / read_from_device

Method read_from_device

src/features.rs:471–473  ·  view source on GitHub ↗

Queries hardware for the current value, updates the cache, returns the fresh value.

(&self)

Source from the content-addressed store, hash-verified

469
470 /// Queries hardware for the current value, updates the cache, returns the fresh value.
471 pub fn read_from_device(&self) -> f32 {
472 (self.getter)(self)
473 }
474
475 /// sends one write packet to hardware and reads the ACK.
476 /// logs an error if the ACK is missing or invalid.

Callers 2

set_featureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected