Commit dc6f77ae authored by Claes Sjofors's avatar Claes Sjofors

Trend, circual buffer bugfix for more than one curve

parent d6130d1e
...@@ -328,7 +328,7 @@ pwr_tStatus cbuf_UpdateCircBuffInfo( cbuf_sCircBuffInfo *info, ...@@ -328,7 +328,7 @@ pwr_tStatus cbuf_UpdateCircBuffInfo( cbuf_sCircBuffInfo *info,
mvol_sAttribute *ap; mvol_sAttribute *ap;
pwr_sClass_CircBuffHeader *hp; pwr_sClass_CircBuffHeader *hp;
char *datap; char *datap;
int split = 0; int split;
int start_idx; int start_idx;
int first_index, last_index; int first_index, last_index;
int finish = 0; int finish = 0;
...@@ -338,6 +338,7 @@ pwr_tStatus cbuf_UpdateCircBuffInfo( cbuf_sCircBuffInfo *info, ...@@ -338,6 +338,7 @@ pwr_tStatus cbuf_UpdateCircBuffInfo( cbuf_sCircBuffInfo *info,
for ( j = 0; j < infosize; j++) { for ( j = 0; j < infosize; j++) {
split = 0;
gdh_Lock; gdh_Lock;
while ( 1) { while ( 1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment