-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from davefiddes/various-cleanups
Various non-function affecting code cleanups
- Loading branch information
Showing
20 changed files
with
189 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,21 @@ | ||
|
||
#ifndef teslaCharger_h | ||
#define teslsCharger_h | ||
#ifndef TESLACHARGER_H | ||
#define TESLACHARGER_H | ||
|
||
/* This library supports the various opensource tesla charger controllers e.g. PCS , Gen2/3 etc. | ||
*/ | ||
|
||
#include <stdint.h> | ||
#include "my_fp.h" | ||
#include "params.h" | ||
#include "chargerhw.h" | ||
#include "my_math.h" | ||
#include "canhardware.h" | ||
#include <stdint.h> | ||
|
||
class teslaCharger: public Chargerhw | ||
{ | ||
|
||
public: | ||
void DecodeCAN(int id, uint32_t data[2]); | ||
void Task100Ms(); | ||
bool ControlCharge(bool RunCh, bool ACReq); | ||
void SetCanInterface(CanHardware* c); | ||
/* | ||
static void handle108(uint32_t data[2]); | ||
static bool HVreq; | ||
static void Send100msMessages(bool ChRun, CanHardware* can); | ||
*/ | ||
private: | ||
|
||
void DecodeCAN(int id, uint32_t data[2]) override; | ||
void Task100Ms() override; | ||
bool ControlCharge(bool RunCh, bool ACReq) override; | ||
void SetCanInterface(CanHardware* c) override; | ||
}; | ||
|
||
#endif /* teslaCharger_h */ | ||
#endif /* TESLACHARGER_H */ |
Oops, something went wrong.