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