mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	FIx ARRAYSIZE def and Murphpad string array (#18392)
Co-authored-by: Jonavin <=>
This commit is contained in:
		
							parent
							
								
									c56dc9c0bb
								
							
						
					
					
						commit
						c6ff10a257
					
				| @ -175,7 +175,7 @@ static const keycodedescType PROGMEM keyselection[] = { | ||||
|         {"Break",   KC_PAUS}, | ||||
|         {"C-A-D",   KC_CAD},  // Ctrl-Alt-Del
 | ||||
|         {"AltF4",   KC_AF4}, | ||||
|         {"QK_BOOT",   QK_BOOT},   // firmware flash mode
 | ||||
|         {"RESET",   QK_BOOT},   // firmware flash mode
 | ||||
| }; | ||||
| 
 | ||||
| #define MAX_KEYSELECTION sizeof(keyselection)/sizeof(keyselection[0]) | ||||
|  | ||||
| @ -18,7 +18,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #pragma once | ||||
| 
 | ||||
| // DEFINE MACROS
 | ||||
| #ifndef ARRAYSIZE | ||||
| #define ARRAYSIZE(arr)  sizeof(arr)/sizeof(arr[0]) | ||||
| #endif // !ARRAYSIZE
 | ||||
| 
 | ||||
| 
 | ||||
| // LAYERS
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 jonavin
						jonavin