mirror of
				https://github.com/Djeeberjr/fw-anwesenheit.git
				synced 2025-11-04 07:34:10 +00:00 
			
		
		
		
	Merge remote-tracking branch 'origin/main' into feature/newlib
This commit is contained in:
		
						commit
						5f65cc7a73
					
				@ -54,6 +54,12 @@ pub async fn feedback_task(
 | 
			
		||||
                Timer::after(Duration::from_millis(100)).await;
 | 
			
		||||
                buzzer.set_low();
 | 
			
		||||
                Timer::after(Duration::from_millis(50)).await;
 | 
			
		||||
                led.write(brightness(
 | 
			
		||||
                    [BLACK; init::hardware::NUM_LEDS].into_iter(),
 | 
			
		||||
                    LED_LEVEL,
 | 
			
		||||
                ))
 | 
			
		||||
                .await
 | 
			
		||||
                .unwrap();
 | 
			
		||||
            }
 | 
			
		||||
            FeedbackState::Nack => {
 | 
			
		||||
                led.write(brightness(
 | 
			
		||||
@ -126,7 +132,7 @@ pub async fn feedback_task(
 | 
			
		||||
            }
 | 
			
		||||
            FeedbackState::Idle => {
 | 
			
		||||
                led.write(brightness(
 | 
			
		||||
                    [GREEN; init::hardware::NUM_LEDS].into_iter(),
 | 
			
		||||
                    [BLACK; init::hardware::NUM_LEDS].into_iter(),
 | 
			
		||||
                    LED_LEVEL,
 | 
			
		||||
                ))
 | 
			
		||||
                .await
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user