Provide missing externs from last commit to allow unit testing
This commit is contained in:
parent
8722065168
commit
21412e74a1
|
@ -30,22 +30,22 @@ See page 136 of the processors datasheet: www.atmel.com/Images/doc2549.pdf
|
|||
#define USE_IGN_REFRESH
|
||||
#define IGNITION_REFRESH_THRESHOLD 30 //Time in uS that the refresh functions will check to ensure there is enough time before changing the end compare
|
||||
|
||||
void (*inj1StartFunction)();
|
||||
void (*inj1EndFunction)();
|
||||
void (*inj2StartFunction)();
|
||||
void (*inj2EndFunction)();
|
||||
void (*inj3StartFunction)();
|
||||
void (*inj3EndFunction)();
|
||||
void (*inj4StartFunction)();
|
||||
void (*inj4EndFunction)();
|
||||
void (*inj5StartFunction)();
|
||||
void (*inj5EndFunction)();
|
||||
void (*inj6StartFunction)();
|
||||
void (*inj6EndFunction)();
|
||||
void (*inj7StartFunction)();
|
||||
void (*inj7EndFunction)();
|
||||
void (*inj8StartFunction)();
|
||||
void (*inj8EndFunction)();
|
||||
extern void (*inj1StartFunction)();
|
||||
extern void (*inj1EndFunction)();
|
||||
extern void (*inj2StartFunction)();
|
||||
extern void (*inj2EndFunction)();
|
||||
extern void (*inj3StartFunction)();
|
||||
extern void (*inj3EndFunction)();
|
||||
extern void (*inj4StartFunction)();
|
||||
extern void (*inj4EndFunction)();
|
||||
extern void (*inj5StartFunction)();
|
||||
extern void (*inj5EndFunction)();
|
||||
extern void (*inj6StartFunction)();
|
||||
extern void (*inj6EndFunction)();
|
||||
extern void (*inj7StartFunction)();
|
||||
extern void (*inj7EndFunction)();
|
||||
extern void (*inj8StartFunction)();
|
||||
extern void (*inj8EndFunction)();
|
||||
|
||||
void initialiseSchedulers();
|
||||
void setFuelSchedule1(unsigned long timeout, unsigned long duration);
|
||||
|
|
|
@ -26,6 +26,23 @@ Schedule ignitionSchedule6;
|
|||
Schedule ignitionSchedule7;
|
||||
Schedule ignitionSchedule8;
|
||||
|
||||
void (*inj1StartFunction)();
|
||||
void (*inj1EndFunction)();
|
||||
void (*inj2StartFunction)();
|
||||
void (*inj2EndFunction)();
|
||||
void (*inj3StartFunction)();
|
||||
void (*inj3EndFunction)();
|
||||
void (*inj4StartFunction)();
|
||||
void (*inj4EndFunction)();
|
||||
void (*inj5StartFunction)();
|
||||
void (*inj5EndFunction)();
|
||||
void (*inj6StartFunction)();
|
||||
void (*inj6EndFunction)();
|
||||
void (*inj7StartFunction)();
|
||||
void (*inj7EndFunction)();
|
||||
void (*inj8StartFunction)();
|
||||
void (*inj8EndFunction)();
|
||||
|
||||
void initialiseSchedulers()
|
||||
{
|
||||
//nullSchedule.Status = OFF;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <unity.h>
|
||||
|
||||
#include "scheduler.h"
|
||||
#include "scheduledIO.h"
|
||||
|
||||
#define TIMEOUT 1000
|
||||
#define DURATION 1000
|
||||
|
|
Loading…
Reference in New Issue