projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c3bacd
)
application: Integrate flash storage via Mx25l.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 8 Jan 2020 10:50:50 +0000
(11:50 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 9 Jan 2020 14:19:36 +0000
(15:19 +0100)
src/application/main.rs
patch
|
blob
|
history
diff --git
a/src/application/main.rs
b/src/application/main.rs
index 4096dc403707129edf83cd4156f929f18c396a41..cf06f640b529cc8b79c2247762bcb308b6028b7f 100644
(file)
--- a/
src/application/main.rs
+++ b/
src/application/main.rs
@@
-43,6
+43,7
@@
use common::display;
use common::gps;
use common::screen;
use common::time::Time;
+use common::mx25l::Mx25l;
use common::shell::Shell;
extern {
@@
-189,6
+190,8
@@
pub unsafe extern "C" fn _start() -> ! {
let mut shell = Shell::new(&mut cdc_tx_buf);
+ let mut mx25l = Mx25l::new(gpio::GPIOD, 1 << 0);
+
let mut gps = gps::Gps::new();
let mut gps_has_fix = false;