From d24038fb8dfdc12b4bc699a89dac823d23a98922 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 1 Sep 2021 17:28:48 +0200 Subject: [PATCH 1/2] Fix #102, Correct documentation typos Fix code comment typos Fix typos in markdown documents --- README.md | 2 +- SECURITY.md | 2 +- fsw/src/to_lab_msg.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f3004cc..ef44e89 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This lab application is a non-flight utility to downlink telemetry from the cFS to_lab is a simple telemetry downlink application that sends CCSDS telecommand packets over a UDP/IP port. The UDP port and IP address are specified in the "Enable Telemetry" command. It does not provide a full CCSDS Telecommand stack implementation. -To send telemtry to the "ground" or UDP/IP port, edit the subscription table in the platform include file: fsw/platform_inc/to_lab_sub_table.h. to_lab will subscribe to the packet IDs that are listed in this table and send the telemetry packets it receives to the UDP/IP port. +To send telemetry to the "ground" or UDP/IP port, edit the subscription table in the platform include file: fsw/platform_inc/to_lab_sub_table.h. to_lab will subscribe to the packet IDs that are listed in this table and send the telemetry packets it receives to the UDP/IP port. ## Version History diff --git a/SECURITY.md b/SECURITY.md index f48fa5a..2e81bcc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ To report a vulnerability for the to_lab subsystem please [submit an issue](http For general cFS vulnerabilities please [open a cFS framework issue](https://github.com/nasa/cfs/issues/new/choose) and see our [top-level security policy](https://github.com/nasa/cFS/security/policy) for additional information. -In either case please use the "Bug Report" template and provide as much information as possible. Apply appropraite labels for each report. For security related reports, tag the issue with the "security" label. +In either case please use the "Bug Report" template and provide as much information as possible. Apply appropriate labels for each report. For security related reports, tag the issue with the "security" label. ## Testing diff --git a/fsw/src/to_lab_msg.h b/fsw/src/to_lab_msg.h index 0b7bdf7..e2a72c1 100644 --- a/fsw/src/to_lab_msg.h +++ b/fsw/src/to_lab_msg.h @@ -134,7 +134,7 @@ typedef struct typedef struct { CFE_MSG_CommandHeader_t CmdHeader; /**< \brief Command header */ - TO_LAB_RemovePacket_Payload_t Payload; /**< \brief Command paylod */ + TO_LAB_RemovePacket_Payload_t Payload; /**< \brief Command payload */ } TO_LAB_RemovePacketCmd_t; /******************************************************************************/ From 19c7bb25741e79c87e669ba1809e420280791b6f Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 1 Sep 2021 17:30:16 +0200 Subject: [PATCH 2/2] Fix #102, Correct typo in error message --- fsw/src/to_lab_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsw/src/to_lab_app.c b/fsw/src/to_lab_app.c index c7a8e43..b8aaa5b 100644 --- a/fsw/src/to_lab_app.c +++ b/fsw/src/to_lab_app.c @@ -582,7 +582,7 @@ void TO_LAB_forward_telemetry(void) if (status < 0) { CFE_EVS_SendEvent(TO_TLMOUTSTOP_ERR_EID, CFE_EVS_EventType_ERROR, - "L%d TO sendto error %d. Tlm output supressed\n", __LINE__, (int)status); + "L%d TO sendto error %d. Tlm output suppressed\n", __LINE__, (int)status); TO_LAB_Global.suppress_sendto = true; } }