From 8fcd17d1df1d2536ce60e105705c5dc121a77331 Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Wed, 20 Oct 2021 12:51:16 +0200
Subject: [PATCH] Added an sleep (100us) after clearing all the patterns and
 stoppping the operation to allow time to clear all the LED's.

---
 src/adc_car_lights_driver.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/adc_car_lights_driver.cpp b/src/adc_car_lights_driver.cpp
index 9e61b75..ec1413e 100644
--- a/src/adc_car_lights_driver.cpp
+++ b/src/adc_car_lights_driver.cpp
@@ -164,6 +164,7 @@ bool AdcCarLightsDriver::stopDriver(void)
 {
   try{
     this->clear_all();
+    usleep(100000);
     this->leds->stop();
     this->frame_buffer->stop();
   }catch(CException &e){
-- 
GitLab