Modify LogFile to open/close file on SD card status.

Previously, would only open on construction, which was only when the receiver mode changed, which wasn't all that useful.
This commit is contained in:
Jared Boone 2016-01-13 23:11:19 -08:00
parent 30ca545b52
commit bd07e4e7e5
8 changed files with 34 additions and 15 deletions

View file

@ -35,8 +35,6 @@ TPMSModel::TPMSModel() {
.decimation_factor = 1,
});
receiver_model.set_baseband_bandwidth(1750000);
log_file.open_for_append("tpms.txt");
}
ManchesterFormatted TPMSModel::on_packet(const TPMSPacketMessage& message) {