auto-sync

This commit is contained in:
rusEfi 2016-07-23 23:03:45 -04:00
parent e3ea3f48bd
commit 7c6949d7f3
5 changed files with 717 additions and 747 deletions

View File

@ -110,6 +110,14 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(int eventIndex, bool limitedF
*/ */
const floatms_t injectionDuration = ENGINE(wallFuel).adjust(event->injectorIndex, ENGINE(fuelMs) PASS_ENGINE_PARAMETER); const floatms_t injectionDuration = ENGINE(wallFuel).adjust(event->injectorIndex, ENGINE(fuelMs) PASS_ENGINE_PARAMETER);
// todo: pre-calculate 'numberOfInjections'
floatms_t totalPerCycle = injectionDuration * getNumberOfInjections(engineConfiguration->injectionMode PASS_ENGINE_PARAMETER);
floatus_t engineCycleDuration = engine->rpmCalculator.oneDegreeUs * engine->engineCycle;
if (MS2US(totalPerCycle) > engineCycleDuration) {
warning(CUSTOM_OBD_26, "injector duty cycle too high %fms @ %d", totalPerCycle,
getRevolutionCounter());
}
ENGINE(actualLastInjection) = injectionDuration; ENGINE(actualLastInjection) = injectionDuration;
if (cisnan(injectionDuration)) { if (cisnan(injectionDuration)) {
warning(CUSTOM_OBD_NAN_INJECTION, "NaN injection pulse"); warning(CUSTOM_OBD_NAN_INJECTION, "NaN injection pulse");

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
(export (version D) (export (version D)
(design (design
(source C:/Users/Vista_64_D630/Desktop/Jared/code/Hardware/trunk/rusefi.com/CJ125_board/O2_input_CJ125.sch) (source C:/Users/Vista_64_D630/Desktop/Jared/code/Hardware/trunk/rusefi.com/CJ125_board/O2_input_CJ125.sch)
(date "7/3/2016 6:25:44 AM") (date "7/23/2016 9:56:18 PM")
(tool "Eeschema 4.0.1-stable") (tool "Eeschema 4.0.1-stable")
(sheet (number 1) (name /) (tstamps /) (sheet (number 1) (name /) (tstamps /)
(title_block (title_block
@ -197,7 +197,7 @@
(tstamp 4E39E9B9)) (tstamp 4E39E9B9))
(comp (ref U1) (comp (ref U1)
(value CJ125) (value CJ125)
(footprint SMD_Packages:SOIC-24) (footprint SOIC-24_7.5x15.4mm_Pitch1.27mm)
(fields (fields
(field (name mfg,mfg#) bosh,CJ125-1267379259) (field (name mfg,mfg#) bosh,CJ125-1267379259)
(field (name vend1,vend1#) future,1267379259)) (field (name vend1,vend1#) future,1267379259))
@ -395,12 +395,12 @@
(pin (num 1) (name 1) (type passive)) (pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive))))) (pin (num 2) (name 2) (type passive)))))
(libraries (libraries
(library (logical cj125) (library (logical conn)
(uri C:\Users\Vista_64_D630\Desktop\Jared\code\Hardware\trunk\rusefi.com\rusefi_lib\cj125.lib)) (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))
(library (logical KICAD_Older_Version) (library (logical KICAD_Older_Version)
(uri C:\Users\Vista_64_D630\Desktop\Jared\code\Hardware\trunk\rusefi.com\rusefi_lib\KICAD_Older_Version.lib)) (uri C:\Users\Vista_64_D630\Desktop\Jared\code\Hardware\trunk\rusefi.com\rusefi_lib\KICAD_Older_Version.lib))
(library (logical conn) (library (logical cj125)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))) (uri C:\Users\Vista_64_D630\Desktop\Jared\code\Hardware\trunk\rusefi.com\rusefi_lib\cj125.lib)))
(nets (nets
(net (code 1) (name "Net-(R2-Pad1)") (net (code 1) (name "Net-(R2-Pad1)")
(node (ref W1) (pin 2)) (node (ref W1) (pin 2))

View File

@ -37,8 +37,8 @@ $Descr A 11000 8500
encoding utf-8 encoding utf-8
Sheet 1 1 Sheet 1 1
Title "CJ125 Wide O2 " Title "CJ125 Wide O2 "
Date "2016-07-02" Date "2016-07-23"
Rev "R0.1" Rev "R0.2"
Comp "rusEFI.com" Comp "rusEFI.com"
Comment1 "" Comment1 ""
Comment2 "" Comment2 ""
@ -421,7 +421,7 @@ U 1 1 4E39E9B7
P 5350 5425 P 5350 5425
F 0 "U1" H 5200 6075 70 0000 C CNN F 0 "U1" H 5200 6075 70 0000 C CNN
F 1 "CJ125" H 5250 4725 70 0000 C CNN F 1 "CJ125" H 5250 4725 70 0000 C CNN
F 2 "SMD_Packages:SOIC-24" V 1130 2600 60 0001 C CNN F 2 "SOIC-24_7.5x15.4mm_Pitch1.27mm" V 1130 2600 60 0001 C CNN
F 3 "" H 5350 5425 60 0001 C CNN F 3 "" H 5350 5425 60 0001 C CNN
F 4 "bosh,CJ125-1267379259" V 1130 2600 60 0001 C CNN "mfg,mfg#" F 4 "bosh,CJ125-1267379259" V 1130 2600 60 0001 C CNN "mfg,mfg#"
F 5 "future,1267379259" V 1130 2600 60 0001 C CNN "vend1,vend1#" F 5 "future,1267379259" V 1130 2600 60 0001 C CNN "vend1,vend1#"

View File

@ -0,0 +1 @@
1) RESOLVED IN R0.2 SOIC24 wrong size