Add support for the Arduino Micro board, fix other Arduino board LED drivers.
[pub/USBasp.git] / Bootloaders / MassStorage / Lib / VirtualFAT.h
index 845530e..380132c 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2013.
+     Copyright (C) Dean Camera, 2014.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   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
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
        /* Function Prototypes: */
                #if defined(INCLUDE_FROM_VIRTUAL_FAT_C)
 
        /* 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,
                        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,
 
                        static void ReadWriteFLASHFileBlock(const uint16_t BlockNumber,
                                                            uint8_t* BlockBuffer,