auto-sync

This commit is contained in:
rusEfi 2016-04-26 20:02:05 -04:00
parent aefaa817d7
commit 66b1e591a7
1 changed files with 3 additions and 3 deletions

View File

@ -109,9 +109,9 @@ typedef struct {
#if EFI_PROD_CODE
#define doSetOutputPinValue2(output, logicValue) { \
if (output->port != GPIO_NULL) { \
efiAssertVoid(output->modePtr!=NULL, "pin mode not initialized"); \
pin_output_mode_e mode = *output->modePtr; \
if ((output)->port != GPIO_NULL) { \
efiAssertVoid((output)->modePtr!=NULL, "pin mode not initialized"); \
pin_output_mode_e mode = *(output)->modePtr; \
efiAssertVoid(mode <= OM_OPENDRAIN_INVERTED, "invalid pin_output_mode_e"); \
int eValue = getElectricalValue(logicValue, mode); \
setPinValue(output, eValue, logicValue); \