auto-sync
This commit is contained in:
parent
34d2395015
commit
5665260dff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
(export (version D)
|
||||
(design
|
||||
(source C:/Users/Vista_64_D630/Desktop/Jared/code/Hardware/trunk/rusefi.com/brain_board_STM32F407/brain_board_STM32F407.sch)
|
||||
(date "12/26/2016 6:20:43 AM")
|
||||
(date "12/26/2016 2:05:12 PM")
|
||||
(tool "Eeschema 4.0.1-stable")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
|
@ -806,10 +806,10 @@
|
|||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive)))))
|
||||
(libraries
|
||||
(library (logical conn)
|
||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))
|
||||
(library (logical KICAD_Older_Version)
|
||||
(uri C:\Users\Vista_64_D630\Desktop\Jared\code\Hardware\trunk\rusefi.com\rusefi_lib\KICAD_Older_Version.lib))
|
||||
(library (logical conn)
|
||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))
|
||||
(library (logical "crystal(mc306)")
|
||||
(uri "C:\\Users\\Vista_64_D630\\Desktop\\Jared\\code\\Hardware\\trunk\\rusefi.com\\rusefi_lib\\crystal(mc306).lib")))
|
||||
(nets
|
||||
|
@ -877,8 +877,8 @@
|
|||
(node (ref U1) (pin 24))
|
||||
(node (ref P1) (pin 11)))
|
||||
(net (code 22) (name /PA3)
|
||||
(node (ref P1) (pin 13))
|
||||
(node (ref U1) (pin 26)))
|
||||
(node (ref U1) (pin 26))
|
||||
(node (ref P1) (pin 13)))
|
||||
(net (code 23) (name /PA5)
|
||||
(node (ref P1) (pin 15))
|
||||
(node (ref U1) (pin 30)))
|
||||
|
@ -889,8 +889,8 @@
|
|||
(node (ref U1) (pin 34))
|
||||
(node (ref P1) (pin 19)))
|
||||
(net (code 26) (name /PB1)
|
||||
(node (ref P1) (pin 21))
|
||||
(node (ref U1) (pin 36)))
|
||||
(node (ref U1) (pin 36))
|
||||
(node (ref P1) (pin 21)))
|
||||
(net (code 27) (name /PC0)
|
||||
(node (ref P1) (pin 8))
|
||||
(node (ref U1) (pin 15)))
|
||||
|
@ -1012,7 +1012,7 @@
|
|||
(node (ref C22) (pin 1))
|
||||
(node (ref R1) (pin 2))
|
||||
(node (ref D3) (pin 2))
|
||||
(node (ref P6) (pin 3))
|
||||
(node (ref P6) (pin 1))
|
||||
(node (ref C21) (pin 1))
|
||||
(node (ref P1) (pin 50))
|
||||
(node (ref R4) (pin 1))
|
||||
|
@ -1033,40 +1033,40 @@
|
|||
(node (ref SW2) (pin 2))
|
||||
(node (ref FB1) (pin 2))
|
||||
(node (ref C4) (pin 1))
|
||||
(node (ref C12) (pin 2))
|
||||
(node (ref C9) (pin 2))
|
||||
(node (ref C11) (pin 2))
|
||||
(node (ref C13) (pin 2))
|
||||
(node (ref C14) (pin 2))
|
||||
(node (ref R13) (pin 2))
|
||||
(node (ref C10) (pin 2))
|
||||
(node (ref C9) (pin 2))
|
||||
(node (ref C14) (pin 2))
|
||||
(node (ref C13) (pin 2))
|
||||
(node (ref C12) (pin 2))
|
||||
(node (ref C11) (pin 2))
|
||||
(node (ref P2) (pin 22))
|
||||
(node (ref P5) (pin 1))
|
||||
(node (ref U3) (pin 3))
|
||||
(node (ref P4) (pin 3))
|
||||
(node (ref P4) (pin 4))
|
||||
(node (ref P4) (pin 3))
|
||||
(node (ref U3) (pin 3))
|
||||
(node (ref P5) (pin 3))
|
||||
(node (ref D9) (pin 1))
|
||||
(node (ref JP5) (pin 1)))
|
||||
(net (code 52) (name "Net-(JP4-Pad2)")
|
||||
(node (ref R9) (pin 2))
|
||||
(node (ref JP4) (pin 2)))
|
||||
(net (code 53) (name "Net-(JP1-Pad2)")
|
||||
(node (ref JP1) (pin 2))
|
||||
(node (ref R6) (pin 2)))
|
||||
(node (ref R6) (pin 2))
|
||||
(node (ref JP1) (pin 2)))
|
||||
(net (code 54) (name "Net-(JP2-Pad2)")
|
||||
(node (ref JP2) (pin 2))
|
||||
(node (ref R7) (pin 2)))
|
||||
(node (ref R7) (pin 2))
|
||||
(node (ref JP2) (pin 2)))
|
||||
(net (code 55) (name "Net-(JP3-Pad2)")
|
||||
(node (ref JP3) (pin 2))
|
||||
(node (ref R8) (pin 2)))
|
||||
(node (ref R8) (pin 2))
|
||||
(node (ref JP3) (pin 2)))
|
||||
(net (code 56) (name /PD12)
|
||||
(node (ref JP1) (pin 1))
|
||||
(node (ref P1) (pin 44))
|
||||
(node (ref U1) (pin 59)))
|
||||
(node (ref U1) (pin 59))
|
||||
(node (ref JP1) (pin 1)))
|
||||
(net (code 57) (name /PD13)
|
||||
(node (ref JP2) (pin 1))
|
||||
(node (ref U1) (pin 60))
|
||||
(node (ref P1) (pin 45)))
|
||||
(node (ref P1) (pin 45))
|
||||
(node (ref JP2) (pin 1)))
|
||||
(net (code 58) (name /PD14)
|
||||
(node (ref U1) (pin 61))
|
||||
(node (ref JP3) (pin 1))
|
||||
|
@ -1086,92 +1086,92 @@
|
|||
(node (ref JP5) (pin 3))
|
||||
(node (ref BT1) (pin 1)))
|
||||
(net (code 64) (name "Net-(D7-Pad1)")
|
||||
(node (ref D7) (pin 1))
|
||||
(node (ref R11) (pin 1)))
|
||||
(node (ref R11) (pin 1))
|
||||
(node (ref D7) (pin 1)))
|
||||
(net (code 65) (name "Net-(D8-Pad1)")
|
||||
(node (ref R12) (pin 1))
|
||||
(node (ref D8) (pin 1)))
|
||||
(node (ref D8) (pin 1))
|
||||
(node (ref R12) (pin 1)))
|
||||
(net (code 66) (name /3V)
|
||||
(node (ref P2) (pin 6))
|
||||
(node (ref P2) (pin 5))
|
||||
(node (ref D9) (pin 2)))
|
||||
(node (ref D9) (pin 2))
|
||||
(node (ref P2) (pin 6)))
|
||||
(net (code 67) (name "Net-(J1-Pad4)")
|
||||
(node (ref J1) (pin 4)))
|
||||
(net (code 68) (name "Net-(J2-Pad4)")
|
||||
(node (ref J2) (pin 4)))
|
||||
(net (code 69) (name "Net-(D5-Pad1)")
|
||||
(node (ref D5) (pin 1))
|
||||
(node (ref R11) (pin 2))
|
||||
(node (ref P3) (pin 1))
|
||||
(node (ref R11) (pin 2)))
|
||||
(node (ref D5) (pin 1)))
|
||||
(net (code 70) (name /5V)
|
||||
(node (ref P4) (pin 1))
|
||||
(node (ref U3) (pin 1))
|
||||
(node (ref D5) (pin 2))
|
||||
(node (ref P2) (pin 3))
|
||||
(node (ref C19) (pin 1))
|
||||
(node (ref P2) (pin 4))
|
||||
(node (ref P4) (pin 1))
|
||||
(node (ref P4) (pin 2))
|
||||
(node (ref C18) (pin 2))
|
||||
(node (ref C19) (pin 1))
|
||||
(node (ref F1002) (pin 2))
|
||||
(node (ref F1002) (pin 1))
|
||||
(node (ref D5) (pin 2))
|
||||
(node (ref U3) (pin 1))
|
||||
(node (ref D6) (pin 2))
|
||||
(node (ref P2) (pin 3)))
|
||||
(node (ref F1002) (pin 2))
|
||||
(node (ref F1002) (pin 1)))
|
||||
(net (code 71) (name "Net-(P2-Pad10)")
|
||||
(node (ref P2) (pin 10)))
|
||||
(net (code 72) (name /PE7)
|
||||
(node (ref U1) (pin 38))
|
||||
(node (ref P1) (pin 25)))
|
||||
(net (code 73) (name /PB4)
|
||||
(node (ref P2) (pin 25))
|
||||
(node (ref P5) (pin 1))
|
||||
(node (ref U1) (pin 90))
|
||||
(node (ref P5) (pin 3)))
|
||||
(node (ref P2) (pin 25)))
|
||||
(net (code 74) (name /PB6)
|
||||
(node (ref U1) (pin 92))
|
||||
(node (ref P2) (pin 23)))
|
||||
(net (code 75) (name /NC)
|
||||
(node (ref P1) (pin 48)))
|
||||
(net (code 76) (name "Net-(C21-Pad2)")
|
||||
(node (ref C21) (pin 2))
|
||||
(node (ref X2) (pin 1))
|
||||
(node (ref C21) (pin 2))
|
||||
(node (ref U1) (pin 8)))
|
||||
(net (code 77) (name "Net-(C22-Pad2)")
|
||||
(node (ref X2) (pin 4))
|
||||
(node (ref C22) (pin 2))
|
||||
(node (ref U1) (pin 9))
|
||||
(node (ref X2) (pin 4)))
|
||||
(node (ref U1) (pin 9)))
|
||||
(net (code 78) (name "Net-(P2-Pad9)")
|
||||
(node (ref P2) (pin 9)))
|
||||
(net (code 79) (name /Shield)
|
||||
(node (ref C20) (pin 1))
|
||||
(node (ref R14) (pin 1))
|
||||
(node (ref J1) (pin 6))
|
||||
(node (ref J2) (pin 6)))
|
||||
(node (ref J2) (pin 6))
|
||||
(node (ref J1) (pin 6)))
|
||||
(net (code 80) (name "Net-(D4-Pad1)")
|
||||
(node (ref D4) (pin 1))
|
||||
(node (ref R9) (pin 1)))
|
||||
(node (ref R9) (pin 1))
|
||||
(node (ref D4) (pin 1)))
|
||||
(net (code 81) (name "Net-(D11-Pad1)")
|
||||
(node (ref R13) (pin 1))
|
||||
(node (ref D11) (pin 1)))
|
||||
(net (code 82) (name "Net-(C5-Pad2)")
|
||||
(node (ref U1) (pin 21))
|
||||
(node (ref C6) (pin 2))
|
||||
(node (ref C5) (pin 2))
|
||||
(node (ref R10) (pin 2)))
|
||||
(node (ref C6) (pin 2))
|
||||
(node (ref R10) (pin 2))
|
||||
(node (ref U1) (pin 21)))
|
||||
(net (code 83) (name /PA13)
|
||||
(node (ref U1) (pin 72))
|
||||
(node (ref P2) (pin 42))
|
||||
(node (ref U1) (pin 72))
|
||||
(node (ref P4) (pin 10)))
|
||||
(net (code 84) (name /PB5)
|
||||
(node (ref U1) (pin 91))
|
||||
(node (ref P2) (pin 26))
|
||||
(node (ref P5) (pin 2)))
|
||||
(net (code 85) (name /PB3)
|
||||
(node (ref P5) (pin 2))
|
||||
(node (ref U1) (pin 91)))
|
||||
(net (code 85) (name /PD4)
|
||||
(node (ref P2) (pin 32))
|
||||
(node (ref U1) (pin 85))
|
||||
(node (ref P6) (pin 2)))
|
||||
(net (code 86) (name /PB3)
|
||||
(node (ref P6) (pin 3))
|
||||
(node (ref P4) (pin 5))
|
||||
(node (ref P6) (pin 1))
|
||||
(node (ref U1) (pin 89))
|
||||
(node (ref P2) (pin 28)))
|
||||
(net (code 86) (name /PD4)
|
||||
(node (ref P2) (pin 32))
|
||||
(node (ref P6) (pin 2))
|
||||
(node (ref U1) (pin 85)))
|
||||
(net (code 87) (name /PA12)
|
||||
(node (ref U1) (pin 71))
|
||||
(node (ref U2) (pin 1)))
|
||||
|
@ -1179,18 +1179,18 @@
|
|||
(node (ref U2) (pin 3))
|
||||
(node (ref U1) (pin 70)))
|
||||
(net (code 89) (name /D-)
|
||||
(node (ref U2) (pin 4))
|
||||
(node (ref J1) (pin 2))
|
||||
(node (ref J2) (pin 2))
|
||||
(node (ref J1) (pin 2)))
|
||||
(node (ref U2) (pin 4)))
|
||||
(net (code 90) (name /D+)
|
||||
(node (ref U2) (pin 6))
|
||||
(node (ref J2) (pin 3))
|
||||
(node (ref U2) (pin 6))
|
||||
(node (ref J1) (pin 3)))
|
||||
(net (code 91) (name /PA9)
|
||||
(node (ref J2) (pin 1))
|
||||
(node (ref R12) (pin 2))
|
||||
(node (ref J1) (pin 1))
|
||||
(node (ref D6) (pin 1))
|
||||
(node (ref R12) (pin 2))
|
||||
(node (ref J2) (pin 1))
|
||||
(node (ref P2) (pin 44))
|
||||
(node (ref U2) (pin 5))
|
||||
(node (ref U1) (pin 68)))
|
||||
|
@ -1202,15 +1202,15 @@
|
|||
(node (ref P4) (pin 6))
|
||||
(node (ref U1) (pin 76)))
|
||||
(net (code 94) (name /NRST)
|
||||
(node (ref U1) (pin 14))
|
||||
(node (ref C1) (pin 2))
|
||||
(node (ref SW1) (pin 1))
|
||||
(node (ref P1) (pin 6))
|
||||
(node (ref C1) (pin 2))
|
||||
(node (ref P4) (pin 9))
|
||||
(node (ref R3) (pin 2)))
|
||||
(node (ref R3) (pin 2))
|
||||
(node (ref U1) (pin 14))
|
||||
(node (ref P1) (pin 6)))
|
||||
(net (code 95) (name /PE3)
|
||||
(node (ref P2) (pin 16))
|
||||
(node (ref U1) (pin 2)))
|
||||
(node (ref U1) (pin 2))
|
||||
(node (ref P2) (pin 16)))
|
||||
(net (code 96) (name /PE2)
|
||||
(node (ref U1) (pin 1))
|
||||
(node (ref P2) (pin 15)))
|
||||
|
@ -1218,20 +1218,20 @@
|
|||
(node (ref U1) (pin 98))
|
||||
(node (ref P2) (pin 18)))
|
||||
(net (code 98) (name /PE0)
|
||||
(node (ref U1) (pin 97))
|
||||
(node (ref P2) (pin 17)))
|
||||
(node (ref P2) (pin 17))
|
||||
(node (ref U1) (pin 97)))
|
||||
(net (code 100) (name /PE4)
|
||||
(node (ref P2) (pin 13))
|
||||
(node (ref U1) (pin 3)))
|
||||
(net (code 101) (name /BOOT0)
|
||||
(node (ref R4) (pin 2))
|
||||
(node (ref P2) (pin 21))
|
||||
(node (ref R4) (pin 2))
|
||||
(node (ref U1) (pin 94)))
|
||||
(net (code 102) (name "Net-(R1-Pad1)")
|
||||
(node (ref R5) (pin 2))
|
||||
(node (ref R2) (pin 2))
|
||||
(node (ref SW2) (pin 1))
|
||||
(node (ref R1) (pin 1))
|
||||
(node (ref SW2) (pin 1)))
|
||||
(node (ref R2) (pin 2))
|
||||
(node (ref R5) (pin 2)))
|
||||
(net (code 103) (name "Net-(D1-Pad1)")
|
||||
(node (ref D1) (pin 1))
|
||||
(node (ref R6) (pin 1)))
|
||||
|
@ -1239,8 +1239,8 @@
|
|||
(node (ref D2) (pin 1))
|
||||
(node (ref R7) (pin 1)))
|
||||
(net (code 105) (name /PE15)
|
||||
(node (ref U1) (pin 46))
|
||||
(node (ref P1) (pin 33)))
|
||||
(node (ref P1) (pin 33))
|
||||
(node (ref U1) (pin 46)))
|
||||
(net (code 106) (name /PE14)
|
||||
(node (ref P1) (pin 32))
|
||||
(node (ref U1) (pin 45)))
|
||||
|
@ -1248,14 +1248,14 @@
|
|||
(node (ref P1) (pin 31))
|
||||
(node (ref U1) (pin 44)))
|
||||
(net (code 108) (name /PE12)
|
||||
(node (ref P1) (pin 30))
|
||||
(node (ref U1) (pin 43)))
|
||||
(node (ref U1) (pin 43))
|
||||
(node (ref P1) (pin 30)))
|
||||
(net (code 109) (name /PE11)
|
||||
(node (ref P1) (pin 29))
|
||||
(node (ref U1) (pin 42)))
|
||||
(net (code 110) (name /PE10)
|
||||
(node (ref U1) (pin 41))
|
||||
(node (ref P1) (pin 28)))
|
||||
(node (ref P1) (pin 28))
|
||||
(node (ref U1) (pin 41)))
|
||||
(net (code 111) (name /PE8)
|
||||
(node (ref U1) (pin 39))
|
||||
(node (ref P1) (pin 26)))
|
||||
|
@ -1263,8 +1263,8 @@
|
|||
(node (ref U1) (pin 5))
|
||||
(node (ref P2) (pin 11)))
|
||||
(net (code 113) (name /PE5)
|
||||
(node (ref P2) (pin 14))
|
||||
(node (ref U1) (pin 4)))
|
||||
(node (ref U1) (pin 4))
|
||||
(node (ref P2) (pin 14)))
|
||||
(net (code 114) (name "Net-(C3-Pad1)")
|
||||
(node (ref C3) (pin 1))
|
||||
(node (ref U1) (pin 13))
|
||||
|
@ -1274,17 +1274,17 @@
|
|||
(node (ref U1) (pin 73)))
|
||||
(net (code 116) (name "Net-(C2-Pad1)")
|
||||
(node (ref C2) (pin 1))
|
||||
(node (ref U1) (pin 12))
|
||||
(node (ref X1) (pin 2)))
|
||||
(node (ref X1) (pin 2))
|
||||
(node (ref U1) (pin 12)))
|
||||
(net (code 117) (name "Net-(C15-Pad1)")
|
||||
(node (ref U1) (pin 49))
|
||||
(node (ref C15) (pin 1)))
|
||||
(node (ref C15) (pin 1))
|
||||
(node (ref U1) (pin 49)))
|
||||
(net (code 118) (name "Net-(C7-Pad2)")
|
||||
(node (ref U1) (pin 22))
|
||||
(node (ref C7) (pin 2))
|
||||
(node (ref U1) (pin 22))
|
||||
(node (ref C8) (pin 2))
|
||||
(node (ref R10) (pin 1))
|
||||
(node (ref FB1) (pin 1)))
|
||||
(net (code 119) (name "Net-(C4-Pad2)")
|
||||
(node (ref R2) (pin 1))
|
||||
(node (ref C4) (pin 2)))))
|
||||
(node (ref C4) (pin 2))
|
||||
(node (ref R2) (pin 1)))))
|
|
@ -1,4 +1,4 @@
|
|||
update=1/18/2016 6:05:27 AM
|
||||
update=12/26/2016 2:28:50 PM
|
||||
version=1
|
||||
last_client=kicad
|
||||
[general]
|
||||
|
@ -8,16 +8,6 @@ version=1
|
|||
NetIExt=net
|
||||
[cvpcb/libraries]
|
||||
EquName1=devcms
|
||||
[schematic_editor]
|
||||
version=1
|
||||
PageLayoutDescrFile=../rusefi_lib/Border.kicad_wks
|
||||
PlotDirectoryName=
|
||||
SubpartIdSeparator=0
|
||||
SubpartFirstId=65
|
||||
NetFmtName=
|
||||
SpiceForceRefPrefix=0
|
||||
SpiceUseNetNumbers=0
|
||||
LabSize=60
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=../rusefi_lib
|
||||
|
@ -53,3 +43,13 @@ SolderMaskMinWidth=0
|
|||
DrawSegmentWidth=0.2
|
||||
BoardOutlineThickness=0.15
|
||||
ModuleOutlineThickness=0.15
|
||||
[schematic_editor]
|
||||
version=1
|
||||
PageLayoutDescrFile=../rusefi_lib/Border.kicad_wks
|
||||
PlotDirectoryName=
|
||||
SubpartIdSeparator=0
|
||||
SubpartFirstId=65
|
||||
NetFmtName=Pcbnew
|
||||
SpiceForceRefPrefix=0
|
||||
SpiceUseNetNumbers=0
|
||||
LabSize=60
|
||||
|
|
|
@ -2465,23 +2465,23 @@ Wire Wire Line
|
|||
15300 3075 15150 3075
|
||||
Text Label 13775 7350 2 60 ~ 0
|
||||
PB5
|
||||
Text Label 13775 7675 2 60 ~ 0
|
||||
Text Label 13775 7875 2 60 ~ 0
|
||||
PB3
|
||||
Text Label 13775 7775 2 60 ~ 0
|
||||
PD4
|
||||
Text Label 13775 7250 2 60 ~ 0
|
||||
VDD
|
||||
Text Label 13775 7450 2 60 ~ 0
|
||||
VDD
|
||||
Text Label 13775 7250 2 60 ~ 0
|
||||
PB4
|
||||
$Comp
|
||||
L GND #PWR066
|
||||
U 1 1 5861744D
|
||||
P 13775 7875
|
||||
F 0 "#PWR066" H 13775 7875 30 0001 C CNN
|
||||
F 1 "GND" H 13775 7805 30 0001 C CNN
|
||||
F 2 "" H 13775 7875 60 0000 C CNN
|
||||
F 3 "" H 13775 7875 60 0000 C CNN
|
||||
1 13775 7875
|
||||
P 13775 7675
|
||||
F 0 "#PWR066" H 13775 7675 30 0001 C CNN
|
||||
F 1 "GND" H 13775 7605 30 0001 C CNN
|
||||
F 2 "" H 13775 7675 60 0000 C CNN
|
||||
F 3 "" H 13775 7675 60 0000 C CNN
|
||||
1 13775 7675
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Text Notes 14125 7575 0 60 ~ 0
|
||||
|
|
Binary file not shown.
|
@ -31,10 +31,10 @@ void testIdleController(void) {
|
|||
assertEqualsM("#1", 60.0, is.getIdle(900, time PASS_ENGINE_PARAMETER));
|
||||
|
||||
time += 2000;
|
||||
assertEqualsM("idle#2", 60.0, is.getIdle(900, time PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("idle#2", 60.5, is.getIdle(900, time PASS_ENGINE_PARAMETER));
|
||||
|
||||
time += 2000;
|
||||
assertEqualsM("idke#3", 60.0, is.getIdle(1050, time PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("idke#3", 60.6, is.getIdle(1050, time PASS_ENGINE_PARAMETER));
|
||||
}
|
||||
|
||||
void testPidController(void) {
|
||||
|
|
|
@ -254,10 +254,10 @@ void testStartupFuelPumping(void) {
|
|||
|
||||
mockTps = TPS_TS_CONVERSION * 3;
|
||||
sf.update(PASS_ENGINE_PARAMETER_F);
|
||||
assertEqualsM("pumpsCounter#2", 2, sf.pumpsCounter);
|
||||
assertEqualsM("pumpsCounter#2", 1, sf.pumpsCounter);
|
||||
|
||||
sf.update(PASS_ENGINE_PARAMETER_F);
|
||||
assertEqualsM("pc#3", 3, sf.pumpsCounter);
|
||||
assertEqualsM("pc#3", 1, sf.pumpsCounter);
|
||||
|
||||
engine->rpmCalculator.mockRpm = 10;
|
||||
sf.update(PASS_ENGINE_PARAMETER_F);
|
||||
|
@ -270,11 +270,11 @@ void testStartupFuelPumping(void) {
|
|||
|
||||
mockTps = TPS_TS_CONVERSION * 3;
|
||||
sf.update(PASS_ENGINE_PARAMETER_F);
|
||||
assertEqualsM("pc#6", 2, sf.pumpsCounter);
|
||||
assertEqualsM("pc#6", 1, sf.pumpsCounter);
|
||||
|
||||
mockTps = TPS_TS_CONVERSION * 7;
|
||||
sf.update(PASS_ENGINE_PARAMETER_F);
|
||||
assertEqualsM("pc#7", 3, sf.pumpsCounter);
|
||||
assertEqualsM("pc#7", 2, sf.pumpsCounter);
|
||||
}
|
||||
|
||||
static void assertREquals(void *expected, void *actual) {
|
||||
|
|
Loading…
Reference in New Issue