Browse Source

Rename some (unused) OMCA pins

Scott Lahteine 7 years ago
parent
commit
0b421e97c9
2 changed files with 6 additions and 6 deletions
  1. 4
    4
      Marlin/pinsDebug_list.h
  2. 2
    2
      Marlin/pins_OMCA.h

+ 4
- 4
Marlin/pinsDebug_list.h View File

@@ -350,11 +350,11 @@
350 350
 #if PIN_EXISTS(HOME)
351 351
   REPORT_NAME_DIGITAL(HOME_PIN, __LINE__ )
352 352
 #endif
353
-#if defined(I2C_SCL) && I2C_SCL >= 0
354
-  REPORT_NAME_DIGITAL(I2C_SCL, __LINE__ )
353
+#if PIN_EXISTS(I2C_SCL)
354
+  REPORT_NAME_DIGITAL(I2C_SCL_PIN, __LINE__ )
355 355
 #endif
356
-#if defined(I2C_SDA) && I2C_SDA >= 0
357
-  REPORT_NAME_DIGITAL(I2C_SDA, __LINE__ )
356
+#if PIN_EXISTS(I2C_SDA)
357
+  REPORT_NAME_DIGITAL(I2C_SDA_PIN, __LINE__ )
358 358
 #endif
359 359
 #if PIN_EXISTS(KILL)
360 360
   REPORT_NAME_DIGITAL(KILL_PIN, __LINE__ )

+ 2
- 2
Marlin/pins_OMCA.h View File

@@ -111,8 +111,8 @@
111 111
 //
112 112
 #define SDSS               11
113 113
 
114
-#define I2C_SCL            16
115
-#define I2C_SDA            17
114
+#define I2C_SCL_PIN        16
115
+#define I2C_SDA_PIN        17
116 116
 
117 117
 // future proofing
118 118
 #define __FS  20

Loading…
Cancel
Save