auto-sync
This commit is contained in:
parent
23d5474aaa
commit
a91fa1c723
|
@ -12,6 +12,7 @@
|
||||||
#include "allsensors.h"
|
#include "allsensors.h"
|
||||||
|
|
||||||
void setSachs(engine_configuration_s *engineConfiguration) {
|
void setSachs(engine_configuration_s *engineConfiguration) {
|
||||||
|
board_configuration_s * boardConfiguration = &engineConfiguration->bc;
|
||||||
engineConfiguration->specs.displacement = 0.1; // 100cc
|
engineConfiguration->specs.displacement = 0.1; // 100cc
|
||||||
engineConfiguration->specs.cylindersCount = 1;
|
engineConfiguration->specs.cylindersCount = 1;
|
||||||
engineConfiguration->engineCycle = 360;
|
engineConfiguration->engineCycle = 360;
|
||||||
|
@ -67,6 +68,7 @@ void setSachs(engine_configuration_s *engineConfiguration) {
|
||||||
// Frankenstein: low side - out #11: PB8
|
// Frankenstein: low side - out #11: PB8
|
||||||
// Frankenstein: low side - out #12: PB9
|
// Frankenstein: low side - out #12: PB9
|
||||||
|
|
||||||
|
boardConfiguration->triggerInputPins[0] = GPIOA_5;
|
||||||
|
boardConfiguration->triggerInputPins[1] = GPIOC_6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue