Simplify more feature driver defines (#22090)
This commit is contained in:
		
							parent
							
								
									61702b2564
								
							
						
					
					
						commit
						21ed9b4575
					
				
					 51 changed files with 63 additions and 62 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define BACKLIGHT_PWM_CHANNEL   1
 | 
			
		||||
#define BACKLIGHT_PAL_MODE      1
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define WS2812_SPI SPID2
 | 
			
		||||
#define WS2812_SPI_DRIVER SPID2
 | 
			
		||||
#define WS2812_SPI_MOSI_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PAL_MODE 0
 | 
			
		||||
#define WS2812_SPI_SCK_PIN B13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue