regenerate returnvalues

This commit is contained in:
Robin Müller 2022-03-04 10:29:56 +01:00
parent bc310c9dfb
commit 38e5a97015
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
6 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 152 translations.
* @details
* Generated on: 2022-03-04 10:23:38
* Generated on: 2022-03-04 10:29:12
*/
#include "translateEvents.h"
@ -159,7 +159,7 @@ const char *U_HPA_OUT_OF_BOUNDS_STRING = "U_HPA_OUT_OF_BOUNDS";
const char *I_HPA_OUT_OF_BOUNDS_STRING = "I_HPA_OUT_OF_BOUNDS";
const char *translateEvents(Event event) {
switch((event & 0xFFFF)) {
switch ((event & 0xFFFF)) {
case (2200):
return STORE_SEND_WRITE_FAILED_STRING;
case (2201):

View File

@ -42,6 +42,7 @@ CPP_COPY_DESTINATION = f"{FSFW_CONFIG_ROOT}/objects/"
CPP_FILENAME = f"{os.path.dirname(os.path.realpath(__file__))}//translateObjects.cpp"
CPP_H_FILENAME = f"{os.path.dirname(os.path.realpath(__file__))}//translateObjects.h"
CSV_OBJECT_FILENAME = f"{ROOT_DIR}/{BSP_SELECT.value}_objects.csv"
CSV_COPY_DEST = f"{OBSW_ROOT_DIR}/tmtc/config/returnvalues.csv"
FILE_SEPARATOR = ";"
@ -114,3 +115,8 @@ def handle_file_export(list_items):
object_list=list_items,
file_separator=FILE_SEPARATOR,
)
copy_file(
filename=CSV_OBJECT_FILENAME,
destination=CSV_COPY_DEST,
delete_existing_file=True
)

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 112 translations.
* Generated on: 2022-03-01 15:19:26
* Generated on: 2022-03-04 10:29:16
*/
#include "translateObjects.h"

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 152 translations.
* @details
* Generated on: 2022-03-04 10:23:38
* Generated on: 2022-03-04 10:29:12
*/
#include "translateEvents.h"

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 112 translations.
* Generated on: 2022-03-01 15:19:26
* Generated on: 2022-03-04 10:29:16
*/
#include "translateObjects.h"

2
tmtc

@ -1 +1 @@
Subproject commit bb63fe21a21c6836d369e39fd10a5490ea1a4c83
Subproject commit c37ea34290762a72ea6bb5dacfe155e7355e5b18