this stuff is just too dead
This commit is contained in:
parent
4a81da605e
commit
0f5f0a549b
|
@ -434,34 +434,6 @@ void initOutputPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
enginePins.o2heater.initPin("O2 heater", CONFIG(o2heaterPin));
|
||||
enginePins.acRelay.initPin("A/C relay", CONFIG(acRelayPin), &CONFIG(acRelayPinMode));
|
||||
|
||||
// digit 1
|
||||
/*
|
||||
ledRegister(LED_HUGE_0, GPIOB, 2);
|
||||
ledRegister(LED_HUGE_1, GPIOE, 7);
|
||||
ledRegister(LED_HUGE_2, GPIOE, 8);
|
||||
ledRegister(LED_HUGE_3, GPIOE, 9);
|
||||
ledRegister(LED_HUGE_4, GPIOE, 10);
|
||||
ledRegister(LED_HUGE_5, GPIOE, 11);
|
||||
ledRegister(LED_HUGE_6, GPIOE, 12);
|
||||
|
||||
// digit 2
|
||||
ledRegister(LED_HUGE_7, GPIOE, 13);
|
||||
ledRegister(LED_HUGE_8, GPIOE, 14);
|
||||
ledRegister(LED_HUGE_9, GPIOE, 15);
|
||||
ledRegister(LED_HUGE_10, GPIOB, 10);
|
||||
ledRegister(LED_HUGE_11, GPIOB, 11);
|
||||
ledRegister(LED_HUGE_12, GPIOB, 12);
|
||||
ledRegister(LED_HUGE_13, GPIOB, 13);
|
||||
|
||||
// digit 3
|
||||
ledRegister(LED_HUGE_14, GPIOE, 0);
|
||||
ledRegister(LED_HUGE_15, GPIOE, 2);
|
||||
ledRegister(LED_HUGE_16, GPIOE, 4);
|
||||
ledRegister(LED_HUGE_17, GPIOE, 6);
|
||||
ledRegister(LED_HUGE_18, GPIOE, 5);
|
||||
ledRegister(LED_HUGE_19, GPIOE, 3);
|
||||
ledRegister(LED_HUGE_20, GPIOE, 1);
|
||||
*/
|
||||
#endif /* EFI_GPIO_HARDWARE */
|
||||
}
|
||||
|
||||
|
|
|
@ -19,37 +19,6 @@
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* these seven segment display pins are related to unused external tachometer code
|
||||
* I still have the hardware so maybe one day I will fix it, but for now it's just dead code
|
||||
* See https://www.youtube.com/watch?v=YYiHoN6MBqE
|
||||
* todo: this should be re-implemented in a smarter way with some sort of multiplexing anyway
|
||||
*/
|
||||
/* digit 1 */
|
||||
// LED_HUGE_0, // B2
|
||||
// LED_HUGE_1,
|
||||
// LED_HUGE_2,
|
||||
// LED_HUGE_3,
|
||||
// LED_HUGE_4,
|
||||
// LED_HUGE_5,
|
||||
// LED_HUGE_6,
|
||||
// /* digit 2 */
|
||||
// LED_HUGE_7,
|
||||
// LED_HUGE_8,
|
||||
// LED_HUGE_9, // E15
|
||||
// LED_HUGE_10,
|
||||
// LED_HUGE_11,
|
||||
// LED_HUGE_12,
|
||||
// LED_HUGE_13,
|
||||
// /* digit 3 */
|
||||
// LED_HUGE_14,
|
||||
// LED_HUGE_15,
|
||||
// LED_HUGE_16,
|
||||
// LED_HUGE_17,
|
||||
// LED_HUGE_18,
|
||||
// LED_HUGE_19,
|
||||
// LED_HUGE_20,
|
||||
|
||||
#if EFI_GPIO_HARDWARE
|
||||
EXTERNC void efiSetPadMode(const char *msg, brain_pin_e pin, iomode_t mode);
|
||||
EXTERNC void efiSetPadUnused(brain_pin_e brainPin);
|
||||
|
|
Loading…
Reference in New Issue