Skip to content

Commit 37530b3

Browse files
Update PAGE_SIZE_SHIFT documentation for clarity
1 parent 353176d commit 37530b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flash/flash_device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/**
55
* @brief Smallest amount of data that can be programmed
66
*
7-
* <PageSize> = 2 ^ Shift. Shift = 3 => <PageSize> = 2^3 = 8 bytes
7+
* <PageSize> = 2 ^ Shift. Shift = 8 => <PageSize> = 2^8 = 256 bytes
88
*
99
*/
1010
#define PAGE_SIZE_SHIFT (8)

0 commit comments

Comments
 (0)