auto-sync
This commit is contained in:
parent
a3584ca70b
commit
9d63205164
|
@ -35,6 +35,8 @@
|
||||||
|
|
||||||
#if EFI_HIP_9011 || defined(__DOXYGEN__)
|
#if EFI_HIP_9011 || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
#define NEW_CODE TRUE
|
||||||
|
|
||||||
#define HIP_DEBUG FALSE
|
#define HIP_DEBUG FALSE
|
||||||
extern OutputPin outputs[IO_PIN_COUNT];
|
extern OutputPin outputs[IO_PIN_COUNT];
|
||||||
|
|
||||||
|
@ -61,6 +63,8 @@ static bool_t isIntegrating = false;
|
||||||
*/
|
*/
|
||||||
static bool_t needToSendSpiCommand = true;
|
static bool_t needToSendSpiCommand = true;
|
||||||
|
|
||||||
|
static bool_t isSendingSpiCommand = false;
|
||||||
|
|
||||||
static scheduling_s startTimer[2];
|
static scheduling_s startTimer[2];
|
||||||
static scheduling_s endTimer[2];
|
static scheduling_s endTimer[2];
|
||||||
|
|
||||||
|
@ -220,6 +224,8 @@ static void setGain(float value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void endOfSpiCommunication(SPIDriver *spip) {
|
static void endOfSpiCommunication(SPIDriver *spip) {
|
||||||
|
spiUnselectI(driver);
|
||||||
|
isSendingSpiCommand = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void initHip9011(void) {
|
void initHip9011(void) {
|
||||||
|
|
Loading…
Reference in New Issue