fixed dropping log messages
It silently overwrote messages when the queue filled up, which was bad.
To avoid triggering the new crash behavior, the size had to be increased
a lot because the BBB does really slow writes sometimes.
diff --git a/aos/build/queues/output/message_dec.rb b/aos/build/queues/output/message_dec.rb
index fdc03ee..9ef2a68 100644
--- a/aos/build/queues/output/message_dec.rb
+++ b/aos/build/queues/output/message_dec.rb
@@ -187,7 +187,7 @@
type_class.set_parent("public ::aos::Message")
ts = self.simpleStr()
self.msg_hash = "0x#{Digest::SHA1.hexdigest(ts)[-8..-1]}"
- type_class.add_member("enum {kQueueLength = 1234, kHash = #{self.msg_hash}}")
+ type_class.add_member("enum {kQueueLength = 200, kHash = #{self.msg_hash}}")
@members.each do |elem|
type_class.add_member(elem.create_usage(cpp_tree))
end