Skip to content

Commit 615c4f8

Browse files
committed
Correct documentation of word data type's size
The size of word can change from one architecture to another. The previous documentation was correct for AVR but not for SAMD (and other architectures). Here, I've implemented the solution recommended by cmaglie at: arduino/Arduino#4525 (comment)
1 parent afde77c commit 615c4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Variables/Data Types/word.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Data Types" ]
1717

1818
[float]
1919
=== Description
20-
A word stores a 16-bit unsigned number, from 0 to 65535. Same as an unsigned int.
20+
A word can store an unsigned number of at least 16 bits (from 0 to 65535).
2121
[%hardbreaks]
2222

2323
--

0 commit comments

Comments
 (0)