used ChatGPT to add comments and proper Headers to all SourceFiles
This commit is contained in:
@@ -1,7 +1,23 @@
|
||||
/**
|
||||
* @file globals.cpp
|
||||
* @brief Implementation of global variables and initialization functions.
|
||||
*
|
||||
* This file defines and initializes the global variables used throughout the project.
|
||||
* The global variables are encapsulated in the Globals_t structure. The initGlobals function
|
||||
* is responsible for initializing these variables to their default values during system startup.
|
||||
*/
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
// Global instance of the Globals_t structure
|
||||
Globals_t globals;
|
||||
|
||||
/**
|
||||
* @brief Initializes global variables to default values during system startup.
|
||||
*
|
||||
* This function sets the initial values for various global variables, ensuring proper
|
||||
* initialization of system-wide parameters.
|
||||
*/
|
||||
void initGlobals()
|
||||
{
|
||||
globals.purgePulses = 0;
|
||||
|
Reference in New Issue
Block a user