samples: sensor: pressure_polling: Add delay between sensor readings

Introduce a 1000 ms delay between consecutive sensor readings to prevent
logging overflow and reduce console clutter.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
This commit is contained in:
Tahsin Mutlugun 2025-07-23 17:39:42 +03:00 committed by Benjamin Cabé
parent 75d383548d
commit 4c1c954347

View File

@ -57,6 +57,8 @@ int main(void)
}
printk("\n");
}
k_msleep(1000);
}
return 0;
}