Backlight Breathing for Planck and Atomic
* Updated personal layouts * tweaked personal * Nightly - Audio Cleanup Refactored the LUTs. Abstracted some of the registers out of audio to use more functional names. Split audio into audio and audio_pwm. WIP * nightly - collapsed code * Added check for note playing to LEDs * Usability tweaks * TWEAE * nightly added extra kcs to keymap common * turned on Plank audio * Added backlight breathing to atomic * reverted accidental merge * adds backlight pulse to planck
This commit is contained in:
		
							parent
							
								
									684793360c
								
							
						
					
					
						commit
						3f02637f4d
					
				
					 21 changed files with 1153 additions and 201 deletions
				
			
		| 
						 | 
				
			
			@ -83,3 +83,8 @@ void backlight_level(uint8_t level)
 | 
			
		|||
    eeconfig_update_backlight(backlight_config.raw);
 | 
			
		||||
    backlight_set(backlight_config.level);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
uint8_t get_backlight_level(void)
 | 
			
		||||
{
 | 
			
		||||
    return backlight_config.level;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -36,5 +36,6 @@ void backlight_toggle(void);
 | 
			
		|||
void backlight_step(void);
 | 
			
		||||
void backlight_set(uint8_t level);
 | 
			
		||||
void backlight_level(uint8_t level);
 | 
			
		||||
uint8_t get_backlight_level(void);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -357,9 +357,11 @@ static bool command_common(uint8_t code)
 | 
			
		|||
            clear_keyboard(); // clear to prevent stuck keys
 | 
			
		||||
            print("\n\nJumping to bootloader... ");
 | 
			
		||||
            #ifdef AUDIO_ENABLE
 | 
			
		||||
	            stop_all_notes();
 | 
			
		||||
                play_goodbye_tone();
 | 
			
		||||
            #else
 | 
			
		||||
	            _delay_ms(1000);
 | 
			
		||||
            #endif
 | 
			
		||||
            _delay_ms(1000);
 | 
			
		||||
            bootloader_jump(); // not return
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,10 +16,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
*/
 | 
			
		||||
 | 
			
		||||
#ifndef NODEBUG_H
 | 
			
		||||
#define NODEBUG_H 1
 | 
			
		||||
#define NODEBUG_H
 | 
			
		||||
 | 
			
		||||
#define NO_DEBUG
 | 
			
		||||
#include "debug.h"
 | 
			
		||||
#undef NO_DEBUG
 | 
			
		||||
#ifndef NO_DEBUG
 | 
			
		||||
	#define NO_DEBUG
 | 
			
		||||
	#include "debug.h"
 | 
			
		||||
	#undef NO_DEBUG
 | 
			
		||||
#else
 | 
			
		||||
	#include "debug.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue