Minor MISRA cleanup (Will still fail)
This commit is contained in:
parent
4853641fd7
commit
ef1fdc3a25
|
@ -220,11 +220,11 @@ No text specified
|
||||||
Rule 19.2
|
Rule 19.2
|
||||||
No text specified
|
No text specified
|
||||||
Rule 20.1
|
Rule 20.1
|
||||||
No text specified
|
Mandatory - Only comments and prepropccesor directives can come before #include statements
|
||||||
Rule 20.2
|
Rule 20.2
|
||||||
No text specified
|
No text specified
|
||||||
Rule 20.3
|
Rule 20.3
|
||||||
No text specified
|
Mandatory - #include statements must be followed by a filename
|
||||||
Rule 20.4
|
Rule 20.4
|
||||||
No text specified
|
No text specified
|
||||||
Rule 20.5
|
Rule 20.5
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
#define AVR2560_H
|
#define AVR2560_H
|
||||||
#if defined(CORE_AVR)
|
#if defined(CORE_AVR)
|
||||||
|
|
||||||
|
#include <avr/interrupt.h>
|
||||||
|
#include <avr/io.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
***********************************************************************************************************
|
***********************************************************************************************************
|
||||||
* General
|
* General
|
||||||
|
@ -13,9 +16,6 @@
|
||||||
***********************************************************************************************************
|
***********************************************************************************************************
|
||||||
* Schedules
|
* Schedules
|
||||||
*/
|
*/
|
||||||
#include <avr/interrupt.h>
|
|
||||||
#include <avr/io.h>
|
|
||||||
|
|
||||||
//Refer to http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/include/avr/iomxx0_1.h?root=avr-libc&view=markup
|
//Refer to http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/include/avr/iomxx0_1.h?root=avr-libc&view=markup
|
||||||
#define FUEL1_COUNTER TCNT3
|
#define FUEL1_COUNTER TCNT3
|
||||||
#define FUEL2_COUNTER TCNT3
|
#define FUEL2_COUNTER TCNT3
|
||||||
|
|
Loading…
Reference in New Issue