Skip to content

Commit 58e0ae3

Browse files
committed
Wrap json_storage_directory in DISABLE_FS guard
Conditionally compile json_storage_directory.cpp when filesystem support is available, using the DISABLE_FS preprocessor guard. Also updates copyright year to 2025-2026.
1 parent c4bb1f7 commit 58e0ae3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib-remoteconfig/src/http/json_storage_directory.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
#if !defined(DISABLE_FS)
12
/**
23
* @file json_storage_directory.cpp
34
*/
4-
/* Copyright (C) 2025 by Arjan van Vught mailto:info@gd32-dmx.org
5+
/* Copyright (C) 2025-2026 by Arjan van Vught mailto:info@gd32-dmx.org
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a copy
78
* of this software and associated documentation files (the "Software"), to deal
@@ -91,3 +92,4 @@ uint32_t Directory(char* out_buffer, uint32_t out_buffer_size) {
9192
return length;
9293
}
9394
} // namespace json::storage
95+
#endif

0 commit comments

Comments
 (0)