better code guard?
This commit is contained in:
parent
b7076bdaae
commit
4cd21bc35e
|
@ -33,6 +33,10 @@
|
|||
#define EFI_DFU_JUMP TRUE
|
||||
#endif
|
||||
|
||||
#ifndef EFI_BOR_LEVEL
|
||||
#define EFI_BOR_LEVEL TRUE
|
||||
#endif
|
||||
|
||||
#define EFI_DYNO_VIEW TRUE
|
||||
|
||||
#ifndef EFI_CDM_INTEGRATION
|
||||
|
|
|
@ -361,12 +361,12 @@ void applyNewHardwareSettings() {
|
|||
adcConfigListener(engine);
|
||||
}
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
#if EFI_BOR_LEVEL
|
||||
void setBor(int borValue) {
|
||||
efiPrintf("setting BOR to %d", borValue);
|
||||
BOR_Set((BOR_Level_t)borValue);
|
||||
}
|
||||
#endif /* EFI_PROD_CODE */
|
||||
#endif /* EFI_BOR_LEVEL */
|
||||
|
||||
// This function initializes hardware that can do so before configuration is loaded
|
||||
void initHardwareNoConfig() {
|
||||
|
|
Loading…
Reference in New Issue