From f39a3a33ee656e0a2f695c465bc6f5683aaafca7 Mon Sep 17 00:00:00 2001 From: Admar Schoonen Date: Wed, 24 May 2023 19:19:44 +0200 Subject: [PATCH] Set sampling area to 31x31 (closes: #26) --- src/maps.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maps.rs b/src/maps.rs index cb8c6a9..628c305 100644 --- a/src/maps.rs +++ b/src/maps.rs @@ -92,8 +92,8 @@ const MAP_KEY: [[u8; 3]; 10] = [ /// The Buienradar map sample size. /// -/// Determiess the number of pixels in width/height that is samples around the sampling coordinate. -const MAP_SAMPLE_SIZE: [u32; 2] = [11, 11]; +/// Determines the number of pixels in width/height that is sampled around the sampling coordinate. +const MAP_SAMPLE_SIZE: [u32; 2] = [31, 31]; /// The interval between map refreshes (in seconds). const REFRESH_INTERVAL: tokio::time::Duration = tokio::time::Duration::from_secs(60);