Commit 4c1c9543 authored by Tahsin Mutlugun's avatar Tahsin Mutlugun Committed by Benjamin Cabé
Browse files

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: default avatarTahsin Mutlugun <Tahsin.Mutlugun@analog.com>
parent 75d38354
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ int main(void)
			}
			printk("\n");
		}

		k_msleep(1000);
	}
	return 0;
}