X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7251da65811a389ecacbb09223058d850d9ce4a4..c69a6236529416aa134cbfcd04a8f05eff987948:/Bootloaders/MassStorage/Lib/VirtualFAT.h diff --git a/Bootloaders/MassStorage/Lib/VirtualFAT.h b/Bootloaders/MassStorage/Lib/VirtualFAT.h index 845530ebc..380132c53 100644 --- a/Bootloaders/MassStorage/Lib/VirtualFAT.h +++ b/Bootloaders/MassStorage/Lib/VirtualFAT.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -274,13 +274,18 @@ /* Function Prototypes: */ #if defined(INCLUDE_FROM_VIRTUAL_FAT_C) + static uint8_t ReadEEPROMByte(const uint8_t* const Address) ATTR_NO_INLINE; + + static void WriteEEPROMByte(uint8_t* const Address, + const uint8_t Data) ATTR_NO_INLINE; + static void UpdateFAT12ClusterEntry(uint8_t* const FATTable, const uint16_t Index, const uint16_t ChainEntry) AUX_BOOT_SECTION; static void UpdateFAT12ClusterChain(uint8_t* const FATTable, const uint16_t StartIndex, - const uint16_t ChainLength) AUX_BOOT_SECTION; + const uint8_t ChainLength) AUX_BOOT_SECTION; static void ReadWriteFLASHFileBlock(const uint16_t BlockNumber, uint8_t* BlockBuffer,