K22 processor

Revision:
18:6196688e2a94
Parent:
7:4aa3dac73b66
--- a/SPIledovi/LedLight.h	Sat May 15 13:59:57 2021 +0200
+++ b/SPIledovi/LedLight.h	Sun May 16 22:01:47 2021 +0200
@@ -80,7 +80,7 @@
 
 // klasa osvezavanja prikaza funkcija. Aktivira sopstveni C_thread i periodicno salje novo stanje ledova 
 
-class C_ledLight: public C_spiled, C_thread
+class C_ledLight : public  C_thread, public C_spiled
 {
     char tickCounter =1;
     S_ledLight s_ledLight[NO_LED] = {{ledOff,0},{ledOff,0},{ledOff,0},{ledOff,0},{ledOff,0},{ledOff,0}};
@@ -89,7 +89,7 @@
 
 virtual void _refresh( void);
    
-    void thread_fun(void) override { _refresh(); }
+     void thread_fun(void) override { _refresh(); }
  
     C_ledLight(  );// { }
     C_ledLight( int stack );//:C_thread( stack) { }