From 505acceba17a4987fb445cce1eed792cf41e93c6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Jan 1970 09:33:41 +0900 Subject: add mutex around remounting, and add debug messages --- flash.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 3627275..d851182 100644 --- a/flash.h +++ b/flash.h @@ -8,8 +8,7 @@ void initFlash(FlashStruct *mem, gboolean reset_to_defaults, int starting_locati void writeUserBlock(FlashStruct *mem, int addr, int numbytes); void fixFlash(FlashStruct *mem); void stopFlashWriterThread(); -void remount_root_as_writeable(); -void remount_root_as_not_writeable(); +void remount_root_as_writeable(gboolean start); #endif -- cgit