Skip to content

Commit f340f68

Browse files
committed
Fix #1415, Update misnamed member variable in OS_BSP_GlobalData_t
1 parent b5dd01c commit f340f68

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A clear and concise description of what the contribution is.
1010
**Testing performed**
1111
Steps taken to test the contribution:
1212
1. Build steps '...'
13-
1. Execution steps '...'
13+
2. Execution steps '...'
1414

1515
**Expected behavior changes**
1616
A clear and concise description of how this contribution will change behavior and level of impact.

src/bsp/shared/inc/bsp-impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ typedef struct
102102
* for each resource type. Flags are all platform-defined, and not every platform uses this
103103
* feature.
104104
*/
105-
uint32 ResoureConfig[OS_OBJECT_TYPE_USER];
105+
uint32 ResourceConfig[OS_OBJECT_TYPE_USER];
106106
} OS_BSP_GlobalData_t;
107107

108108
/*

src/bsp/shared/src/bsp_default_resourcecfg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void OS_BSP_SetResourceTypeConfig(uint32 ResourceType, uint32 ConfigOptionValue)
3737
{
3838
if (ResourceType < OS_OBJECT_TYPE_USER)
3939
{
40-
OS_BSP_Global.ResoureConfig[ResourceType] = ConfigOptionValue;
40+
OS_BSP_Global.ResourceConfig[ResourceType] = ConfigOptionValue;
4141
}
4242
}
4343

@@ -52,7 +52,7 @@ uint32 OS_BSP_GetResourceTypeConfig(uint32 ResourceType)
5252

5353
if (ResourceType < OS_OBJECT_TYPE_USER)
5454
{
55-
ConfigOptionValue = OS_BSP_Global.ResoureConfig[ResourceType];
55+
ConfigOptionValue = OS_BSP_Global.ResourceConfig[ResourceType];
5656
}
5757
else
5858
{

src/os/rtems/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if (OSAL_CONFIG_INCLUDE_NETWORK)
6363
../portable/os-impl-bsd-select.c
6464
)
6565

66-
# In RTEMS 6+ the networking subsystem is not included with the defualt libs,
66+
# In RTEMS 6+ the networking subsystem is not included with the default libs,
6767
# it needs to be explicitly added to the final link. Note the "VERSION_GREATER_EQUAL"
6868
# operation was not added until CMake 3.7, so this uses not "VERSION_LESS" instead.
6969
if(NOT CMAKE_SYSTEM_VERSION VERSION_LESS 6.0)

src/os/vxworks/inc/os-impl-dirs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
/*
3636
* In VxWorks 6.x the system mkdir() function only has a path argument
37-
* In VxWorks 7 it is now POSIX compilant and adds a mode argument
37+
* In VxWorks 7 it is now POSIX-compliant and adds a mode argument
3838
*
3939
* This macro simply discards the second argument, allowing code to use
4040
* mkdir() in a consistent, POSIX compliant fashion.

ut_assert/src/utstubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ int32 UT_DefaultStubImplWithArgs(const char *FunctionName, UT_EntryKey_t FuncKey
10681068

10691069
RvcPtr = UT_Stub_FindRetvalConfig(FuncKey);
10701070

1071-
/* For legacy compatibility, determine the int32 status code (this may or may not be relevent) */
1071+
/* For legacy compatibility, determine the int32 status code (this may or may not be relevant) */
10721072
if (RvcPtr != NULL && UT_Stub_IsValueCompatible(&RvcPtr->Data.Rvc, "int32", UT_ValueGenre_INTEGER))
10731073
{
10741074
LocalContext.Int32StatusIsSet =

0 commit comments

Comments
 (0)