Warnings cleanup. Fixes #1026 #1025

This commit is contained in:
Josh Stewart 2023-03-30 14:29:38 +11:00
parent 1c5ae26d7b
commit a309659b69
3 changed files with 10 additions and 0 deletions

View File

@ -217,6 +217,13 @@ void triggerSec_NGC68(void);
uint16_t getRPM_NGC(void);
void triggerSetEndTeeth_NGC(void);
void triggerSetup_Vmax(void);
void triggerPri_Vmax(void);
void triggerSec_Vmax(void);
uint16_t getRPM_Vmax(void);
int getCrankAngle_Vmax(void);
void triggerSetEndTeeth_Vmax(void);
extern void (*triggerHandler)(void); //Pointer for the trigger function (Gets pointed to the relevant decoder)
extern void (*triggerSecondaryHandler)(void); //Pointer for the secondary trigger function (Gets pointed to the relevant decoder)
extern void (*triggerTertiaryHandler)(void); //Pointer for the tertiary trigger function (Gets pointed to the relevant decoder)

View File

@ -11,6 +11,7 @@
#include "utilities.h"
#include "scheduledIO.h"
#include "scheduler.h"
#include "schedule_calcs.h"
#include "auxiliaries.h"
#include "sensors.h"
#include "decoders.h"
@ -1477,6 +1478,7 @@ void setPinMapping(byte boardID)
pinO2 = A2; //O2 Sensor pin
pinBat = A15; //Battery reference voltage pin. Needs Alpha4+
pinLaunch = 34; //Can be overwritten below
pinVSS = 35;
pinSpareTemp2 = A16; //WRONG! Needs updating!!
pinSpareTemp2 = A17; //WRONG! Needs updating!!

View File

@ -1,6 +1,7 @@
#include "globals.h"
#include "logger.h"
#include "errors.h"
#include "decoders.h"
/**
* Returns a numbered byte-field (partial field in case of multi-byte fields) from "current status" structure in the format expected by TunerStudio