Template
更改宏定义的开启方式
This commit is contained in:
+3
-3
@@ -62,15 +62,15 @@ int main(void)
|
||||
|
||||
i2c_config();
|
||||
|
||||
#ifdef DEBUG_MODE
|
||||
#if DEBUG_MODE == ENABLE
|
||||
printf("Hello World!\r\n");
|
||||
#endif
|
||||
|
||||
#ifdef SEGGER_RTT_DETECTION
|
||||
#if SEGGER_RTT_DETECTION == ENABLE
|
||||
RTT_printf(0, "Hello World!\r\n");
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_VERBOSE
|
||||
#if DEBUG_VERBOSE == ENABLE
|
||||
i2c_scan();
|
||||
|
||||
i2c_bus_reset();
|
||||
|
||||
Reference in New Issue
Block a user