<commit_before>/* Standard C lib includes */
#include <stdlib.h>
#include <stddef.h>
#include <ctype.h>
#include <string.h>

/* Linenoise and shell includes */
#include "shell.h"
#include "linenoise.h"
#include "parser.h"

#include "module_rs232.h"
#include "algorithm_quaternion.h"
#include "algorithm_pid.h"
#include "sys_manager.h"

#include "FreeRTOS.h"
#include "task.h"

#define PAR_DEF(PAR, PAR_STR, INT_ORG, FLT_ORG) \
	[PAR] = {.par_str = #PAR_STR, .int_origin = INT_ORG, .flt_origin = FLT_ORG, .par_is_changed = 0}

/* Shell Command handlers */
void monitor_unknown_cmd(char parameter[][MAX_CMD_LEN], int par_cnt);
void monitor_help(char parameter[][MAX_CMD_LEN], int par_cnt);
void monitor_set(char parameter[][MAX_CMD_LEN], int par_cnt);

/* The identifier of the command */
enum MONITOR_CMD_ID {
	unknown_cmd_ID,
	help_ID,
	set_ID,
	MONITOR_CMD_CNT
};

//First string don't need to store anything for unknown commands
command_list monitorCmd_list[MONITOR_CMD_CNT] = {
	CMD_DEF(unknown_cmd, monitor),
	CMD_DEF(help, monitor),
	CMD_DEF(set, monitor)
};

/* Internal commands */
enum MONITOR_INTERNAL_CMD {<commit_msg>Replace the header file definition in status_monitor.c<commit_after>/* Standard C lib includes */
#include <stdlib.h>
#include <stddef.h>
#include <ctype.h>
#include <string.h>

#include "QuadCopterConfig.h"

#define PAR_DEF(PAR, PAR_STR, INT_ORG, FLT_ORG) \
	[PAR] = {.par_str = #PAR_STR, .int_origin = INT_ORG, .flt_origin = FLT_ORG, .par_is_changed = 0}

/* Shell Command handlers */
void monitor_unknown_cmd(char parameter[][MAX_CMD_LEN], int par_cnt);
void monitor_help(char parameter[][MAX_CMD_LEN], int par_cnt);
void monitor_set(char parameter[][MAX_CMD_LEN], int par_cnt);

/* The identifier of the command */
enum MONITOR_CMD_ID {
	unknown_cmd_ID,
	help_ID,
	set_ID,
	MONITOR_CMD_CNT
};

//First string don't need to store anything for unknown commands
command_list monitorCmd_list[MONITOR_CMD_CNT] = {
	CMD_DEF(unknown_cmd, monitor),
	CMD_DEF(help, monitor),
	CMD_DEF(set, monitor)
};

/* Internal commands */
enum MONITOR_INTERNAL_CMD {
{'fraction_non_alphanumeric': 0.12764932562620424, 'fraction_numerical': 0.0024084778420038534, 'mean_word_length': 5.787581699346405, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5425114', 'n_tokens_mistral': 793, 'n_tokens_neox': 776, 'n_words': 186}