Skip to content

Commit e266008

Browse files
committed
📚 Fix typo in message docs
Problem: - A field is incorrectly located. Solution: - Fix it. Note: - From #764 (comment)
1 parent c9b0b29 commit e266008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/message.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ repetition. For example, adding a payload message to a header:
172172
using type_f = field<"type", std::uint32_t>::located<at{0_dw, 7_msb, 0_lsb}>;
173173
using header_defn = message<"header", type_f>;
174174
175-
using data_f = field<"data", std::uint32_t>::located<at{0_dw, 15_msb, 7_lsb}>;
175+
using data_f = field<"data", std::uint32_t>::located<at{0_dw, 15_msb, 8_lsb}>;
176176
using payload_defn = message<"payload", data_f>;
177177
178178
using msg_defn = extend<

0 commit comments

Comments
 (0)