components/mhz19b/MHZ19B.cpp
/**
 * Link C static world to C++ instance
 */
Link C static world to C++ instance
Link C static world to C ++ instance
void MHZ19B::write_task(void *pvParameter)
{
    if (pvParameter == 0) {
        ESP_LOGE(TAG, "write_task, invalid pvParameter");
    } else {
        MHZ19B *pInstance = (MHZ19B*) pvParameter;
        pInstance->write();
    }
}
void MHZ19B :: write_task ( void * pvParameter ) { if ( pvParameter == 0 ) { ESP_LOGE ( TAG , " " ) ; } else { MHZ19B * pInstance = ( MHZ19B * ) pvParameter ; pInstance -> write ( ) ; } }
Link C static world to C++ instance
Link C static world to C ++ instance
// should be an instance