fixes for usb-support

This commit is contained in:
2017-12-25 08:12:10 +01:00
parent 3b66192591
commit 95b3471f49
19 changed files with 1196 additions and 3580 deletions

View File

@@ -1,15 +1,14 @@
#include "countdown.h"
#include "unistd.h"
Countdown::Countdown()
{
Countdown::Countdown() {
this->running = 1;
}
void Countdown::setStop(){
void Countdown::setStop() {
this->running = 0;
}
void Countdown::run(){
while(this->running){
void Countdown::run() {
while (this->running) {
sleep(1);
emit CountdownUpdate();
}