Skip to content

Commit

Permalink
minor edits, sdnn
Browse files Browse the repository at this point in the history
  • Loading branch information
joicetm committed Apr 17, 2018
1 parent c2a48e3 commit d28c486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/heartypatch-ble/main/max30003.c
Expand Up @@ -402,7 +402,7 @@ float sdnn_ff(unsigned int array[])
sumsdnn = sumsdnn + diff;
}

sdnn = (sqrt(sumsdnn/(MAX-1)));
sdnn = (sqrt(sumsdnn/(MAX)));
return sdnn;
}

Expand Down

0 comments on commit d28c486

Please sign in to comment.