예제 #1
0
파일: target.c 프로젝트: 4712/cleanflight
static void* tcpThread(void* data) {
    UNUSED(data);

    dyad_init();
    dyad_setTickInterval(0.2f);
    dyad_setUpdateTimeout(0.5f);

    while (workerRunning) {
        dyad_update();
    }

    dyad_shutdown();
    printf("tcpThread end!!\n");
    return NULL;
}
예제 #2
0
파일: dyad.hpp 프로젝트: cia48621793/dyad
		static void setTickInterval(double seconds) {
			dyad_setTickInterval(seconds);
		}