Fix NV14 simulation

This commit is contained in:
Raphael Coeffic
2022-08-11 12:15:46 +02:00
committed by Raphael Coeffic
parent 66e08da1b8
commit b9b31a659f
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -95,8 +95,6 @@ uint32_t isBootloaderStart(const uint8_t * buffer);
// SDRAM driver
void SDRAM_Init();
#if !defined(SIMU)
enum {
PCBREV_NV14 = 0,
PCBREV_EL18 = 1,
@@ -108,6 +106,8 @@ typedef struct {
extern HardwareOptions hardwareOptions;
#if !defined(SIMU)
#define INTERNAL_MODULE_OFF() \
do { \
if (hardwareOptions.pcbrev == PCBREV_NV14) \