summaryrefslogtreecommitdiffstats
path: root/drivers/flash/flash_spi.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-14 03:28:03 +0000
committerQMK Bot <hello@qmk.fm>2022-04-14 03:28:03 +0000
commit88028dd982ef8048e582abda10c47128dfe223b4 (patch)
tree983f9a04175cf035d274a8f73b6f00e22ec7c206 /drivers/flash/flash_spi.h
parent2858415789c5ff60b52f41b27059735018a3fa4b (diff)
parent18e56902c996854fdb3b68a26f07c0751883701d (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'drivers/flash/flash_spi.h')
-rw-r--r--drivers/flash/flash_spi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/flash/flash_spi.h b/drivers/flash/flash_spi.h
index abe95e955e..87460fc210 100644
--- a/drivers/flash/flash_spi.h
+++ b/drivers/flash/flash_spi.h
@@ -74,21 +74,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
The sector size of the FLASH in bytes, as specified in the datasheet.
*/
#ifndef EXTERNAL_FLASH_SECTOR_SIZE
-# define EXTERNAL_FLASH_SECTOR_SIZE (4 * 1024)
+# define EXTERNAL_FLASH_SECTOR_SIZE (4 * 1024L)
#endif
/*
The block size of the FLASH in bytes, as specified in the datasheet.
*/
#ifndef EXTERNAL_FLASH_BLOCK_SIZE
-# define EXTERNAL_FLASH_BLOCK_SIZE (64 * 1024)
+# define EXTERNAL_FLASH_BLOCK_SIZE (64 * 1024L)
#endif
/*
The total size of the FLASH in bytes, as specified in the datasheet.
*/
#ifndef EXTERNAL_FLASH_SIZE
-# define EXTERNAL_FLASH_SIZE (512 * 1024)
+# define EXTERNAL_FLASH_SIZE (512 * 1024L)
#endif
/*