Skip to content

Commit

Permalink
merged in master, now builds. test still needs to be written and bugf…
Browse files Browse the repository at this point in the history
…ixes made. also ignition switch message needs to be added.
  • Loading branch information
IshDeshpa committed Sep 26, 2023
2 parents 6f69ba9 + fd33899 commit 2f45100
Show file tree
Hide file tree
Showing 58 changed files with 751 additions and 1,905 deletions.
1 change: 1 addition & 0 deletions Apps/Inc/SendCarCAN.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef __SENDCARCAN_H
#define __SENDCARCAN_H

#include "CANbus.h"

/**
* @brief Initialize SendCarCAN
Expand Down
6 changes: 3 additions & 3 deletions Apps/Inc/SendTritium.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#include "common.h"

#define MOTOR_MSG_PERIOD 500
#define FSM_PERIOD 250
#define MOTOR_MSG_PERIOD 100
#define FSM_PERIOD 100
#define DEBOUNCE_PERIOD 2 // in units of FSM_PERIOD
#define MOTOR_MSG_COUNTER_THRESHOLD (MOTOR_MSG_PERIOD)/(FSM_PERIOD)

Expand Down Expand Up @@ -38,7 +38,7 @@ typedef struct TritiumState{
void (*stateDecider)(void);
} TritiumState_t;

#define __TEST_SENDTRITIUM
//#define __TEST_SENDTRITIUM
#ifdef __TEST_SENDTRITIUM
// Inputs
extern bool cruiseEnable;
Expand Down
337 changes: 0 additions & 337 deletions Apps/Inc/fifo_protected.h

This file was deleted.

Loading

0 comments on commit 2f45100

Please sign in to comment.