Compare commits

..

3 commits

Author SHA1 Message Date
1af6862380 changed headerguard
The header guard was changed to add a '_H' to the end.
2024-10-01 17:25:56 -07:00
59bd150ad0 changed taregt for main
Changed the main.cpp into using the project name variable
2024-10-01 17:24:30 -07:00
600cdf88c5 changed the cmake project name 2024-10-01 17:24:00 -07:00
3 changed files with 6 additions and 10 deletions

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
# Use the fancy version substitution # Use the fancy version substitution
project(cmake-cpputest-template project(multi-tracker
VERSION 1.0 VERSION 1.0
DESCRIPTION "template for cmake + cpputest" DESCRIPTION "template for cmake + cpputest"
LANGUAGES C CXX LANGUAGES C CXX

View file

@ -1,4 +1,4 @@
add_executable(main add_executable(${PROJECT}
main.c ${PROJECT}.cpp
) )
add_subdirectory(Radio) add_subdirectory(Radio)

View file

@ -5,9 +5,8 @@
* description: module_purpose * description: module_purpose
*/ */
#ifndef RADIO #ifndef RADIO_H
#define RADIO #define RADIO_H
/** /**
* @brief Preforms radio setup using defined values. * @brief Preforms radio setup using defined values.
@ -19,12 +18,9 @@ void Radio_setup(void);
*/ */
void Radio_reset(void); void Radio_reset(void);
/** /**
* @brief Sends data to any receiving radios. * @brief Sends data to any receiving radios.
*/ */
int Radio_SendData(); int Radio_SendData();
#endif // RADIO_H
#endif //RADIO