Skip to content
Browse files

CF limbo again... how low will manufacturers go? (Now 3997163520 byte…

…s is apparently "4GB")
  • Loading branch information...
1 parent 3d15efe commit 6935390148236836dd5059a96c4486df38aa32bf @jim-p jim-p committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 builder_scripts/builder_common.sh
View
8 builder_scripts/builder_common.sh
@@ -2070,7 +2070,7 @@ FlashDevice () {
NANO_SECTS=63
;;
2048|2048mb|2g)
- NANO_MEDIASIZE=`expr 2000000000 / 512`
+ NANO_MEDIASIZE=`expr 1990000000 / 512`
NANO_HEADS=16
NANO_SECTS=63
;;
@@ -2080,17 +2080,17 @@ FlashDevice () {
NANO_SECTS=63
;;
4096|4096mb|4g)
- NANO_MEDIASIZE=`expr -e 4000000000 / 512`
+ NANO_MEDIASIZE=`expr -e 3990000000 / 512`
NANO_HEADS=16
NANO_SECTS=63
;;
8192|8192mb|8g)
- NANO_MEDIASIZE=`expr -e 8000000000 / 512`
+ NANO_MEDIASIZE=`expr -e 7990000000 / 512`
NANO_HEADS=16
NANO_SECTS=63
;;
16384|16384mb|16g)
- NANO_MEDIASIZE=`expr -e 16000000000 / 512`
+ NANO_MEDIASIZE=`expr -e 15990000000 / 512`
NANO_HEADS=16
NANO_SECTS=63
;;

0 comments on commit 6935390

Please sign in to comment.
Something went wrong with that request. Please try again.