mirror of
https://github.com/eclipse-threadx/filex.git
synced 2026-09-14 04:05:59 +08:00
Updated copyright headers and removed revision history
* Updated version number constants * Updated copyright headers and removed revision history
This commit is contained in:
+10
-10
@@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2024 Microsoft Corporation
|
||||
* Copyright (c) 2025 Eclipse ThreadX contributors
|
||||
*
|
||||
* Copyright (c) 2025 Eclipse ThreadX contributors
|
||||
*
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the MIT License which is available at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
*
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
**************************************************************************/
|
||||
|
||||
@@ -64,11 +64,11 @@ ULONG thread_0_counter;
|
||||
void main(void)
|
||||
{
|
||||
|
||||
#ifdef FX_STANDALONE_ENABLE
|
||||
#ifdef FX_STANDALONE_ENABLE
|
||||
|
||||
/* Initialize FileX. */
|
||||
fx_system_initialize();
|
||||
|
||||
|
||||
thread_0_entry(0);
|
||||
#else
|
||||
/* Enter the ThreadX kernel. */
|
||||
@@ -116,10 +116,10 @@ CHAR local_buffer[30];
|
||||
|
||||
|
||||
/* Format the RAM disk - the memory for the RAM disk was setup in
|
||||
tx_application_define above.
|
||||
tx_application_define above.
|
||||
|
||||
Important Note: The user must ensure there is enough RAM for the format
|
||||
specified. Otherwise, memory corruption can occur.
|
||||
specified. Otherwise, memory corruption can occur.
|
||||
*/
|
||||
status = fx_media_format(&ram_disk,
|
||||
_fx_ram_driver, // Driver entry
|
||||
@@ -141,7 +141,7 @@ CHAR local_buffer[30];
|
||||
{
|
||||
/* Error formatting the RAM disk. */
|
||||
printf("HTTPS RAM disk format failed, error: %x\n", status);
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Loop to repeat the demo over and over! */
|
||||
@@ -155,9 +155,9 @@ CHAR local_buffer[30];
|
||||
{
|
||||
/* Error opening the RAM disk. */
|
||||
printf("RAM disk open failed, error: %x\n", status);
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef FX_ENABLE_FAULT_TOLERANT
|
||||
status = fx_fault_tolerant_enable(&ram_disk, fault_tolerant_memory, sizeof(fault_tolerant_memory));
|
||||
|
||||
Reference in New Issue
Block a user