Permalink
Browse files

change OLED message update rate to avoid CAN message loss

  • Loading branch information...
1 parent b1c08b9 commit 27d0b9319301267a37acb52720a97e0c48b578ba @hartmutbehrens committed Feb 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.h
View
@@ -8,8 +8,8 @@
#define UDP_PORT_RX 11898
#define UDP_PORT_TX 11899
#define CAN_FRAME_SIZE 14 // size of CAN frame to be sent via UDP
-#define CAN_UPDATERATE 1 // rate at which to display CAN message statistics
-#define UDP_UPDATERATE 1 // rate at which to display UDP message statistics
+#define CAN_UPDATERATE 100 // rate at which to display CAN message statistics
+#define UDP_UPDATERATE 100 // rate at which to display UDP message statistics
#define CAN_RINGBUF_SIZE (CAN_FRAME_SIZE*80) // size of ring buffer, accomodate up to 160 frames, probably a bit excessive
#define PRINT_BUF_SIZE 20 // OLED print buffer size
#define EV_RINGBUF_SIZE 64 // size of event ring buffer, accomodate up to 64 events

0 comments on commit 27d0b93

Please sign in to comment.