aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-08-22 00:52:21 +0200
committerGitHub <[email protected]>2022-08-22 00:52:21 +0200
commit79c7be3fc65315c2822cae139bf514096a66641a (patch)
tree400931fc2134d66bdf36876a0404c7fcd6362d7d
parentf76815d642064b5ed5b1673e4a386e2747813f20 (diff)
parent6b4555a6a70f8c10755198b69e7cf085c1a53fce (diff)
Merge pull request #5 from danbev/clm-comments
Add comments about Country Locale Matrix (CLM)
-rw-r--r--examples/rpi-pico-w/src/main.rs2
-rw-r--r--src/structs.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/rpi-pico-w/src/main.rs b/examples/rpi-pico-w/src/main.rs
index 91f087262..569c9bf4c 100644
--- a/examples/rpi-pico-w/src/main.rs
+++ b/examples/rpi-pico-w/src/main.rs
@@ -42,7 +42,7 @@ async fn net_task(stack: &'static Stack<cyw43::NetDevice<'static>>) -> ! {
42async fn main(spawner: Spawner, p: Peripherals) { 42async fn main(spawner: Spawner, p: Peripherals) {
43 info!("Hello World!"); 43 info!("Hello World!");
44 44
45 // Include the WiFi firmware and CLM. 45 // Include the WiFi firmware and Country Locale Matrix (CLM) blobs.
46 let fw = include_bytes!("../../../firmware/43439A0.bin"); 46 let fw = include_bytes!("../../../firmware/43439A0.bin");
47 let clm = include_bytes!("../../../firmware/43439A0_clm.bin"); 47 let clm = include_bytes!("../../../firmware/43439A0_clm.bin");
48 48
diff --git a/src/structs.rs b/src/structs.rs
index 7a7c25b26..355470971 100644
--- a/src/structs.rs
+++ b/src/structs.rs
@@ -172,6 +172,7 @@ pub const DOWNLOAD_FLAG_BEGIN: u16 = 0x0002;
172pub const DOWNLOAD_FLAG_END: u16 = 0x0004; 172pub const DOWNLOAD_FLAG_END: u16 = 0x0004;
173pub const DOWNLOAD_FLAG_HANDLER_VER: u16 = 0x1000; 173pub const DOWNLOAD_FLAG_HANDLER_VER: u16 = 0x1000;
174 174
175// Country Locale Matrix (CLM)
175pub const DOWNLOAD_TYPE_CLM: u16 = 2; 176pub const DOWNLOAD_TYPE_CLM: u16 = 2;
176 177
177#[derive(Clone, Copy)] 178#[derive(Clone, Copy)]