From: Petteri Aimonen Date: Fri, 2 Sep 2016 04:21:24 +0000 (+0300) Subject: Fix typo in docs (thanks to @alecdavis) X-Git-Tag: 5.0.2~186^2~58 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=91bb64a47b36b112c9b22391ef76fab29cf2cffc;p=apps%2Fagl-service-can-low-level.git Fix typo in docs (thanks to @alecdavis) --- diff --git a/docs/concepts.rst b/docs/concepts.rst index ef880cff..ea33863c 100644 --- a/docs/concepts.rst +++ b/docs/concepts.rst @@ -164,7 +164,7 @@ required bytes data = 1 [(nanopb).max_size = 40]; | pb_byte_t bytes[40]; | } Person_data_t; | Person_data_t data; -required bytes data = 1 [(nanopb).max_size = 40, (nanopb.type) = FT_INLINE]; | pb_byte_t data[40]; +required bytes data = 1 [(nanopb).max_size = 40, (nanopb).type = FT_INLINE]; | pb_byte_t data[40]; =============================================================================== ======================= The maximum lengths are checked in runtime. If string/bytes/array exceeds the allocated length, *pb_decode* will return false.