Skip to content

Instantly share code, notes, and snippets.

@maleadt
Created November 12, 2013 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maleadt/7432305 to your computer and use it in GitHub Desktop.
Save maleadt/7432305 to your computer and use it in GitHub Desktop.
void DRESC_test09(short int *data1, int *time_offset) {
int j;
int A0, A1, A2, B0;
for (j = 0; j < (57); j++) {
A2 = data1[j];
A0 = A1;
A1 = A2;
B0 = A0 + A1;
}
time_offset[0] = B0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment