Changeset 444 in flair-src for trunk/tools/FlairGCS/src/DataPlot2D.cpp


Ignore:
Timestamp:
09/10/21 14:37:55 (9 months ago)
Author:
Sanahuja Guillaume
Message:

update buffering (gcs part)
seems to work!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/DataPlot2D.cpp

    r443 r444  
    251251}
    252252
    253 void DataPlot2D::BufEvent(char **buf, int *buf_size, uint16_t period, uint16_t nb_buffering,bool big_endian) {
     253void DataPlot2D::BufEvent(char **buf, int *buf_size, uint16_t period,uint16_t nb_buffering,bool big_endian) {
    254254 
    255   if (IsEnabled() == false || RefreshRate_ms() != period)
    256     return;
     255  if (IsEnabled() == false || RefreshRate_ms() != period || NbBuffering()!=nb_buffering) return;
    257256
    258257  for (int i = 0; i < datas->count(); i++) {
Note: See TracChangeset for help on using the changeset viewer.