Skip to content

Commit

Permalink
🔧 Define ST7920 delays as integers
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Sep 5, 2021
1 parent 9af88ec commit 9ea2a4f
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 42 deletions.
6 changes: 3 additions & 3 deletions config/examples/Anet/A6/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2440,9 +2440,9 @@
// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(150)
#define ST7920_DELAY_2 DELAY_NS(150)
#define ST7920_DELAY_3 DELAY_NS(150)
#define ST7920_DELAY_1 150 // (ns)
#define ST7920_DELAY_2 150 // (ns)
#define ST7920_DELAY_3 150 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Anet/A8plus/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2463,9 +2463,9 @@
//
#define ANET_FULL_GRAPHICS_LCD
//#define ANET_FULL_GRAPHICS_LCD_ALT_WIRING
#define ST7920_DELAY_1 DELAY_NS(150)
#define ST7920_DELAY_2 DELAY_NS(150)
#define ST7920_DELAY_3 DELAY_NS(150)
#define ST7920_DELAY_1 150 // (ns)
#define ST7920_DELAY_2 150 // (ns)
#define ST7920_DELAY_3 150 // (ns)

//
// AZSMZ 12864 LCD with SD
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Anet/E10/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2461,9 +2461,9 @@
//
#define ANET_FULL_GRAPHICS_LCD
//#define ANET_FULL_GRAPHICS_LCD_ALT_WIRING
#define ST7920_DELAY_1 DELAY_NS(250)
#define ST7920_DELAY_2 DELAY_NS(250)
#define ST7920_DELAY_3 DELAY_NS(250)
#define ST7920_DELAY_1 250 // (ns)
#define ST7920_DELAY_2 250 // (ns)
#define ST7920_DELAY_3 250 // (ns)

//
// AZSMZ 12864 LCD with SD
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A20/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2350,9 +2350,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(125)
#define ST7920_DELAY_2 DELAY_NS(125)
#define ST7920_DELAY_3 DELAY_NS(125)
#define ST7920_DELAY_1 125 // (ns)
#define ST7920_DELAY_2 125 // (ns)
#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A20M/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2351,9 +2351,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(125)
#define ST7920_DELAY_2 DELAY_NS(125)
#define ST7920_DELAY_3 DELAY_NS(125)
#define ST7920_DELAY_1 125 // (ns)
#define ST7920_DELAY_2 125 // (ns)
#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A20T/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2352,9 +2352,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(125)
#define ST7920_DELAY_2 DELAY_NS(125)
#define ST7920_DELAY_3 DELAY_NS(125)
#define ST7920_DELAY_1 125 // (ns)
#define ST7920_DELAY_2 125 // (ns)
#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A30/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2349,9 +2349,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A30M/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2349,9 +2349,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/A30T/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2349,9 +2349,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/D200/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2349,9 +2349,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/E180/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2350,9 +2350,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Geeetech/M201/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2349,9 +2349,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//#define ST7920_DELAY_1 DELAY_NS(125)
//#define ST7920_DELAY_2 DELAY_NS(125)
//#define ST7920_DELAY_3 DELAY_NS(125)
//#define ST7920_DELAY_1 125 // (ns)
//#define ST7920_DELAY_2 125 // (ns)
//#define ST7920_DELAY_3 125 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Raiscube/A8r/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2390,9 +2390,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(150)
#define ST7920_DELAY_2 DELAY_NS(150)
#define ST7920_DELAY_3 DELAY_NS(150)
#define ST7920_DELAY_1 150 // (ns)
#define ST7920_DELAY_2 150 // (ns)
#define ST7920_DELAY_3 150 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down
6 changes: 3 additions & 3 deletions config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2350,9 +2350,9 @@
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(150)
#define ST7920_DELAY_2 DELAY_NS(150)
#define ST7920_DELAY_3 DELAY_NS(150)
#define ST7920_DELAY_1 150 // (ns)
#define ST7920_DELAY_2 150 // (ns)
#define ST7920_DELAY_3 150 // (ns)

//
// K.3D Full Graphic Smart Controller
Expand Down

0 comments on commit 9ea2a4f

Please sign in to comment.