add pit indicator
This commit is contained in:
@ -16,12 +16,15 @@
|
||||
class PIT : public ISR {
|
||||
|
||||
private:
|
||||
PIT(const PIT ©); // Verhindere Kopieren
|
||||
PIT(const PIT ©) = delete; // Verhindere Kopieren
|
||||
|
||||
private:
|
||||
enum { time_base = 838 }; /* ns */
|
||||
int timer_interval;
|
||||
|
||||
char indicator[4] = {'|', '/', '-', '\\'};
|
||||
unsigned int indicator_pos = 0;
|
||||
unsigned long last_indicator_refresh = 0;
|
||||
|
||||
public:
|
||||
// Zeitgeber initialisieren.
|
||||
PIT (int us) {
|
||||
|
||||
Reference in New Issue
Block a user