gpio: tle9104: fix simulator
This commit is contained in:
parent
b7ca018a8c
commit
66db9f6a34
|
@ -1,6 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#if EFI_PROD_CODE && BOARD_TLE9104_COUNT > 0
|
||||
#include "global.h"
|
||||
|
||||
#include <hal.h>
|
||||
#include "efifeatures.h"
|
||||
|
||||
struct tle9104_config {
|
||||
SPIDriver *spi_bus;
|
||||
|
@ -44,5 +47,3 @@ int tle9104_add(Gpio base, int index, const tle9104_config* cfg);
|
|||
// .resn = Gpio::A3,
|
||||
// .en = Gpio::C9
|
||||
// };
|
||||
|
||||
#endif // BOARD_TLE9104_COUNT > 0
|
||||
|
|
Loading…
Reference in New Issue