This commit is contained in:
parent
94c92f41dc
commit
3840bbe36f
|
@ -28,6 +28,7 @@
|
||||||
#include "efiGpio.h"
|
#include "efiGpio.h"
|
||||||
#include "adc_inputs.h"
|
#include "adc_inputs.h"
|
||||||
#include "AdcConfiguration.h"
|
#include "AdcConfiguration.h"
|
||||||
|
#include "engine.h"
|
||||||
|
|
||||||
static volatile int stepCoutner = 0;
|
static volatile int stepCoutner = 0;
|
||||||
static volatile brain_pin_e currentPin = GPIO_UNASSIGNED;
|
static volatile brain_pin_e currentPin = GPIO_UNASSIGNED;
|
||||||
|
@ -40,6 +41,8 @@ static bool isTimeForNextStep(int copy) {
|
||||||
extern AdcDevice slowAdc;
|
extern AdcDevice slowAdc;
|
||||||
extern AdcDevice fastAdc;
|
extern AdcDevice fastAdc;
|
||||||
|
|
||||||
|
EXTERN_ENGINE;
|
||||||
|
|
||||||
static void processAdcPin(AdcDevice *adc, int index) {
|
static void processAdcPin(AdcDevice *adc, int index) {
|
||||||
adc_channel_e hwIndex = adc->getAdcHardwareIndexByInternalIndex(index);
|
adc_channel_e hwIndex = adc->getAdcHardwareIndexByInternalIndex(index);
|
||||||
ioportid_t port = getAdcChannelPort("test", hwIndex);
|
ioportid_t port = getAdcChannelPort("test", hwIndex);
|
||||||
|
|
|
@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
|
||||||
if (initBootloader() != 0)
|
if (initBootloader() != 0)
|
||||||
return 123;
|
return 123;
|
||||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||||
return 20170825;
|
return 20170828;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue