converted more stuff to LogInterval
diff --git a/bbb_cape/src/bbb/packet_finder.h b/bbb_cape/src/bbb/packet_finder.h
index 85281fb..962291f 100644
--- a/bbb_cape/src/bbb/packet_finder.h
+++ b/bbb_cape/src/bbb/packet_finder.h
@@ -67,7 +67,7 @@
typedef ::aos::util::SimpleLogInterval SimpleLogInterval;
static constexpr ::aos::time::Time kDebugLogInterval =
- ::aos::time::Time::InSeconds(0.25);
+ ::aos::time::Time::InSeconds(0.3);
SimpleLogInterval invalid_packet_ =
SimpleLogInterval(kDebugLogInterval, INFO, "invalid packet");
SimpleLogInterval bad_checksum_ =
diff --git a/bbb_cape/src/bbb/uart_reader.cc b/bbb_cape/src/bbb/uart_reader.cc
index 9ed0c39..c45c8ea 100644
--- a/bbb_cape/src/bbb/uart_reader.cc
+++ b/bbb_cape/src/bbb/uart_reader.cc
@@ -74,8 +74,7 @@
: fd_(open_device()) {
if (fd_ < 0) {
- LOG(FATAL, "open(%s, O_RDWR | O_NOCTTY | O_NOBLOCK) failed with %d: %s."
- " Did you read my note in bbb/uart_reader.cc?\n",
+ LOG(FATAL, "open(%s, O_RDWR | O_NOCTTY | O_NOBLOCK) failed with %d: %s\n",
device, errno, strerror(errno));
}