File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
## Unreleased - ReleaseDate
4
+ ### Added
5
+ - License and contribution notes are added to the README.
6
+
4
7
### Fixed
5
8
- Outdated code example in ` README.md ` is fixed.
6
9
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Users can use this library to implement a USB device deriver on your own OS.
12
12
13
13
This crate is ` #![no_std] ` compatible.
14
14
15
- # Examples
15
+ ## Examples
16
16
17
17
``` rust
18
18
let mut r = unsafe { xhci :: Registers :: new (MMIO_BASE , mapper ) };
@@ -23,3 +23,20 @@ o.usbcmd.update(|u| {
23
23
});
24
24
while o . usbsts. read (). hc_halted () {}
25
25
```
26
+
27
+ ## License
28
+
29
+ Licensed under either of
30
+
31
+ * Apache License, Version 2.0
32
+ ([ LICENSE-APACHE] ( LICENSE-APACHE ) or http://www.apache.org/licenses/LICENSE-2.0 )
33
+ * MIT license
34
+ ([ LICENSE-MIT] ( LICENSE-MIT ) or http://opensource.org/licenses/MIT )
35
+
36
+ at your option.
37
+
38
+ ## Contribution
39
+
40
+ Unless you explicitly state otherwise, any contribution intentionally submitted
41
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
42
+ dual licensed as above, without any additional terms or conditions.
You can’t perform that action at this time.
0 commit comments