Порівняти коміти

...

2 commits

Автор SHA1 Повідомлення Дата
e5593747cf Merge branch 'manometre' of https://git.etud.insa-toulouse.fr/bray/Projet_VictorAvecUnK 2020-05-18 15:47:25 +02:00
Victor Le Roch
62f74ad36d modif manometre, toujours decrescendo 2020-05-18 15:39:54 +02:00
2 змінених файлів з 2 додано та 4 видалено

BIN
OtherDevices/.DS_Store сторонній

Бінарний файл не відображається.

@ -10,14 +10,12 @@ void AnalogSensorManometre::run(){
int cpt = 0;
while(1){
if(ptrmem!=NULL){
if(cpt%5 == 0){
if(cpt == 5){
*ptrmem = val - alea;
cpt = 0;
}
}
sleep(temps);
cpt++;
if(cpt == 10000){
cpt = 0;
}
}
}