kopia lustrzana https://github.com/DL7AD/pecanpico9
Fixed image id initialization error
rodzic
37180ab892
commit
d1ac86b8aa
|
@ -207,7 +207,7 @@ THD_FUNCTION(trackingThread, arg) {
|
||||||
* tracker has been reset.
|
* tracker has been reset.
|
||||||
*/
|
*/
|
||||||
if(lastLogPoint != NULL)
|
if(lastLogPoint != NULL)
|
||||||
gimage_id = lastLogPoint->id_image;
|
gimage_id = lastLogPoint->id_image+1;
|
||||||
|
|
||||||
systime_t time = chVTGetSystemTimeX();
|
systime_t time = chVTGetSystemTimeX();
|
||||||
while(true)
|
while(true)
|
||||||
|
|
Ładowanie…
Reference in New Issue