fixed style issues + got encoders and timestamp actually working
diff --git a/bbb_cape/src/bbb/uart_reader.h b/bbb_cape/src/bbb/uart_reader.h
index a717c33..bd022b0 100644
--- a/bbb_cape/src/bbb/uart_reader.h
+++ b/bbb_cape/src/bbb/uart_reader.h
@@ -9,14 +9,16 @@
namespace bbb {
class UartReader : public PacketFinder {
- int fd_;
-
-public:
+ public:
UartReader(int32_t baud_rate);
- ~UartReader();
+ virtual ~UartReader();
+
int ReadBytes(AlignedChar *dest, size_t max_bytes);
+
+ private:
+ const int fd_;
};
-} // namespace bbb
+} // namespace bbb
#endif