Skip to content

Commit

Permalink
Manually looked through the files, applied copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielDelgado committed Sep 30, 2023
1 parent 4238ce9 commit e357a69
Show file tree
Hide file tree
Showing 76 changed files with 226 additions and 155 deletions.
2 changes: 1 addition & 1 deletion Apps/Inc/CAN_Queue.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file CAN_Queue.h
* @brief Queue that holds all CAN messages that Task_CANBusConsumer needs to
* send.
*
Expand Down
3 changes: 2 additions & 1 deletion Apps/Inc/FaultState.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file FaultState.h
* @brief
*
* @defgroup FaultState
* @addtogroup FaultState
* @{
*/

#ifndef __FAULT_STATE_H
#define __FAULT_STATE_H

Expand Down
18 changes: 7 additions & 11 deletions Apps/Inc/MedianFilter.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file MedianFilter.h
* @brief
*
* @defgroup MedianFilter
* @addtogroup MedianFilter
* @{
*/

/*
* This file implements a median filter.
* @brief This file implements a median filter.
*
* In order to use it in another file, you must import it in
* a particular way.
Expand Down Expand Up @@ -37,6 +29,10 @@
* NOTE: importantly, this does not currently support usage from
* header files. That is, all these types/functions are statically
* declared, so there cannot be a non-static fifo at the moment.
*
* @defgroup MedianFilter
* @addtogroup MedianFilter
* @{
*/

// The header guard only guard the import,
Expand Down Expand Up @@ -220,4 +216,4 @@ GETSINGLE(MF_TYPE_NAME *filter, uint32_t channel) {
#undef PUT
#undef GETSINGLE

/* @} */
/* @} */
2 changes: 1 addition & 1 deletion Apps/Inc/ReadCarCAN.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file ReadCarCAN.h
* @brief
*
* @defgroup ReadCarCAN
Expand Down
2 changes: 1 addition & 1 deletion Apps/Inc/ReadTritium.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file ReadTritium.h
* @brief
*
* @defgroup ReadTritium
Expand Down
3 changes: 2 additions & 1 deletion Apps/Inc/SendTritium.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file SendTritium.h
* @brief
*
* @defgroup SendTritium
* @addtogroup SendTritium
* @{
*/

#ifndef __SENDTRITIUM_H
#define __SENDTRITIUM_H

Expand Down
4 changes: 2 additions & 2 deletions Apps/Inc/Tasks.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file Tasks.h
* @brief
*
* @defgroup Tasks
Expand Down Expand Up @@ -205,4 +205,4 @@ void _assertOSError(

#endif

/* @} */
/* @} */
5 changes: 2 additions & 3 deletions Apps/Inc/UpdateDisplay.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file UpdateDisplay.h
* @brief Function prototypes for the display application.
*
* This contains function prototypes relevant to the UpdateDisplay
Expand Down Expand Up @@ -53,7 +53,6 @@ typedef enum { STATE_0 = 0, STATE_1 = 1, STATE_2 = 2 } TriState_t;
* @brief Initializes UpdateDisplay application
* @returns UpdateDisplayError_t
*/

UpdateDisplayError_t UpdateDisplay_Init();

/**
Expand Down Expand Up @@ -129,4 +128,4 @@ UpdateDisplayError_t UpdateDisplay_SetCruiseState(TriState_t state);

#endif

/* @} */
/* @} */
2 changes: 1 addition & 1 deletion Apps/Inc/common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file common.h
* @brief
*
* @defgroup common
Expand Down
17 changes: 7 additions & 10 deletions Apps/Inc/fifo.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file fifo.h
* @brief
*
* @defgroup fifo
* @addtogroup fifo
* @{
*/

/*
* This file implements a fifo.
* @brief This file implements a fifo.
*
* In order to use it in another file, you must import it in
* a particular way.
Expand All @@ -35,6 +27,10 @@
* NOTE: importantly, this does not currently support usage from
* header files. That is, all these types/functions are statically
* declared, so there cannot be a non-static fifo at the moment.
*
* @defgroup fifo
* @addtogroup fifo
* @{
*/

// The header guard only guard the import,
Expand Down Expand Up @@ -236,4 +232,5 @@ POPBACK(FIFO_TYPE_NAME *fifo, FIFO_TYPE *elem) {
#undef POPBACK
#undef CONCAT
#undef _CONCAT

/* @} */
4 changes: 1 addition & 3 deletions Apps/Src/CAN_Queue.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file CAN_Queue.c
* @brief
*
*/

#include "CAN_Queue.h"
Expand Down
5 changes: 5 additions & 0 deletions Apps/Src/CommandLine.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
*/

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Expand Down
7 changes: 6 additions & 1 deletion Apps/Src/DebugDump.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
*/

#include <errno.h>

#include "CAN_Queue.h"
Expand Down Expand Up @@ -105,4 +110,4 @@ void Task_DebugDump(void *p_arg) {
assertOSError(OS_NONE_LOC, err);
}
}
}
}
4 changes: 1 addition & 3 deletions Apps/Src/FaultState.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file FaultState.c
* @brief
*
*/

#include "FaultState.h"
Expand Down
4 changes: 1 addition & 3 deletions Apps/Src/PedalToPercent.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file PedalToPercent.c
* @brief
*
*/

/* Converts accelerator pedal percentage to a decimal */
Expand Down
4 changes: 1 addition & 3 deletions Apps/Src/ReadCarCAN.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file ReadCarCAN.c
* @brief
*
*/

#include "ReadCarCAN.h"
Expand Down
4 changes: 1 addition & 3 deletions Apps/Src/ReadTritium.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file ReadTritium.c
* @brief
*
*/

#include "ReadTritium.h"
Expand Down
2 changes: 1 addition & 1 deletion Apps/Src/SendCarCAN.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file SendCarCAN.c
* @brief Implements the SendCarCAN Task
*
* Resends the feedback from the motor controller
Expand Down
2 changes: 1 addition & 1 deletion Apps/Src/SendTritium.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file SendTritium.c
* @brief Function implementations for the SendTritium application.
*
* This contains functions relevant to updating the velocity and current
Expand Down
4 changes: 1 addition & 3 deletions Apps/Src/Tasks.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file Tasks.c
* @brief
*
*/

#include "Tasks.h"
Expand Down
2 changes: 1 addition & 1 deletion Apps/Src/Telemetry.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file Telemetry.c
* @brief Implements the SendCarCAN Task
*
* Creates a datatype to house the data to be read by telemetry
Expand Down
2 changes: 1 addition & 1 deletion Apps/Src/UpdateDisplay.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file UpdateDisplay.c
* @brief Function implementations for the display application.
*
* This contains functions relevant to modifying states of specific
Expand Down
5 changes: 5 additions & 0 deletions Apps/Src/common.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
*/

#include "common.h"

void print_float(char* str, float f) {
Expand Down
4 changes: 1 addition & 3 deletions Apps/Src/main.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file main.c
* @brief
*
*/

#include "CANConfig.h"
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_ADC.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_ADC.h
* @brief Header file for the library to interact
* with the Analog to Digital Converter (ADC)
*
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_CAN.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_CAN.h
* @brief Header file for the library to interact
* with both CAN lines in the car
*
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_GPIO.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_GPIO.h
* @brief Header file for the library to interact
* with the GPIO ports
*
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_OS.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_OS.h
* @brief
*
* @defgroup BSP_OS
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_SPI.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_SPI.h
* @brief Header file for the library to interact
* over SPI with minion board(s)
*
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/BSP_UART.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file BSP_UART.h
* @brief Header file for the library to interact
* with the UART line
*
Expand Down
2 changes: 1 addition & 1 deletion BSP/Inc/bsp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
* @file bsp.h
* @brief
*
* @defgroup bsp
Expand Down
5 changes: 4 additions & 1 deletion BSP/STM32F413/Src/BSP_ADC.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright (c) 2020 UT Longhorn Racing Solar */
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
*/

#include "BSP_ADC.h"

Expand Down
5 changes: 4 additions & 1 deletion BSP/STM32F413/Src/BSP_CAN.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright (c) 2020 UT Longhorn Racing Solar */
/**
* @file
* @copyright Copyright (c) 2018-2023 UT Longhorn Racing Solar
*/

#include "BSP_CAN.h"

Expand Down
Loading

0 comments on commit e357a69

Please sign in to comment.