components/am2301/AM2301.cpp
/**
 * Report recoverable error as measurement result (once).
 */
Report recoverable error as measurement result (once).
Report recoverable error as measurement result ( once ) .
void AM2301::fire_recoverable(int64_t timestamp)
{
    if (state != COMPONENT_RECOVERABLE) {
        state = COMPONENT_RECOVERABLE;
        pubsub_publish_int(status_topic, RESULT_RECOVERABLE);
    }
}
void AM2301 :: fire_recoverable ( int64_t timestamp ) { if ( state != COMPONENT_RECOVERABLE ) { state = COMPONENT_RECOVERABLE ; pubsub_publish_int ( status_topic , RESULT_RECOVERABLE ) ; } }
Report recoverable error as measurement result (once).
Report recoverable error as measurement result ( once ) .