Permalink
Browse files

v2.41 Power loss bug fixed. Adding support for 38400bps for testing w…

…ith SparkFum 9DOF IMU logging.

29124 bytes of 30720 (yikes)

Found a bug in the append_file routine. If the unit is actively logging, file.writes are flying by quickly. But if OpenLog loses power, none of the data is recorded because there is no file.sync. Data would only get recorded if the unit went idle or if user entered escape command. This has since been fixed with two file.sync() commands.
  • Loading branch information...
1 parent a548a77 commit 6e184d5379e2e4aa7054b0afb530866433c0bdde @nseidle nseidle committed Nov 17, 2010
Showing with 1,815 additions and 1,771 deletions.
  1. +1,778 −1,764 OpenLog_v2/OpenLog_v2.cpp.hex
  2. +35 −6 OpenLog_v2/OpenLog_v2.pde
  3. +2 −1 README
Oops, something went wrong.

0 comments on commit 6e184d5

Please sign in to comment.