From 54343b7d74b2847ac40dc2a78250f0ab836ae9d2 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 24 May 2021 09:04:37 -0400 Subject: [PATCH] mkfs.fat phase kills gen_config #2736 --- firmware/hw_layer/mass_storage/ramdisk_image.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/hw_layer/mass_storage/ramdisk_image.h b/firmware/hw_layer/mass_storage/ramdisk_image.h index 3bdbd9a758..8deaa83801 100644 --- a/firmware/hw_layer/mass_storage/ramdisk_image.h +++ b/firmware/hw_layer/mass_storage/ramdisk_image.h @@ -1,4 +1,6 @@ // This file will be replaced by a ramdisk image containing the corresponding ini // Defining this macro tells the ramdisk to instead mount a null device instead of // the filesystem image, since we don't have one. +#ifndef RAMDISK_INVALID #define RAMDISK_INVALID +#endif