diff src/external_flash.asm @ 628:cd58f7fc86db

3.05 stable work
author heinrichsweikamp
date Thu, 19 Sep 2019 12:01:29 +0200
parents c40025d8e750
children 185ba2f91f59
line wrap: on
line diff
--- a/src/external_flash.asm	Sun Jun 30 23:22:32 2019 +0200
+++ b/src/external_flash.asm	Thu Sep 19 12:01:29 2019 +0200
@@ -325,7 +325,7 @@
 	clrf	ext_flash_address+1
 	clrf	ext_flash_address+2
 
-	setf	ext_flash_rw					; 256 * 12 kB = 3145728 bytes
+	clrf	ext_flash_rw					; 256 * 12 kB = 3145728 bytes
 ext_flash_erase_logbook_loop:
 	rcall	ext_flash_erase4kB				; 4kB
 	rcall	ext_flash_add_4kB				; increase ext_flash_address:3 by 4kB