[−][src]Static mynewt::hw::sensor::LISTENER_INTERNAL
static mut LISTENER_INTERNAL: sensor_listener
Define the listener function to be called after polling the sensor.
This is a static mutable copy of the listener passed in through register_listener
.
Must be static so it won't go out of scope. Must be mutable so that Rust won't move it while Mynewt is using it.