Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change OLED message update rate to avoid CAN message loss

  • Loading branch information...
commit 27d0b9319301267a37acb52720a97e0c48b578ba 1 parent b1c08b9
Hartmut Behrens authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.h
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.