/*! \brief This API initializes QDebug interface, including the low level * hardware interface (SPI, TWI, USART etc). * \note Must be called before using any other QDebug API. */ void QDebug_Init(void) { touch_ret_t touch_ret = TOUCH_SUCCESS; #if (defined QDEBUG_BITBANG_SPI) BitBangSPI_Master_Init(); #endif touch_ret = QDEBUG_GET_LIBINFO_FUNC(&QDEBUG_LIBINFO); if (touch_ret != TOUCH_SUCCESS) { while (1) { } } Init_Buffers(); }
/*============================================================================ Name : QDebug_Init ------------------------------------------------------------------------------ Purpose : Initialize Debug Interface Input : n/a Output : n/a Notes : Must be called before using any other QDebug API. ============================================================================*/ void QDebug_Init(void) { int16_t touch_ret; #if (defined QDEBUG_SPI) SPI_Master_Init(); #elif (defined QDEBUG_SERIAL) SERIAL_Init(); #endif touch_ret = QDEBUG_GET_LIBINFO_FUNC(&QDEBUG_LIBINFO); if(touch_ret != TOUCH_SUCCESS) { while(1); } Init_Buffers(); }
void Mesh::Init_ShaderObjects(ShaderLocations shaderLocations) { this->shaderLocations = shaderLocations; Init_Buffers(); Init_VertexArray(); }
/** * @brief Initialize Debug Interface * @ingroup QDebug-Remote * Must be called before the main loop */ void QDebug_Init(void) { qt_get_library_sig(&lib_siginfo); Init_Buffers(); }