Upgrade doxygen configuration files to the latest version.
[pub/lufa.git] / Bootloaders / MassStorage / Lib / VirtualFAT.c
index 63d4ea0..be6438f 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2015.
+     Copyright (C) Dean Camera, 2021.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2015  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2021  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
@@ -260,7 +260,7 @@ static void UpdateFAT12ClusterEntry(uint8_t* const FATTable,
        else
        {
                FATTable[FATOffset]     = ChainEntry;
-               FATTable[FATOffset + 1] = (FATTable[FATOffset] & 0xF0) | (ChainEntry >> 8);
+               FATTable[FATOffset + 1] = (FATTable[FATOffset + 1] & 0xF0) | (ChainEntry >> 8);
        }
 }