projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
application: Integrate flash storage via Mx25l.
[gps-watch.git]
/
src
/
application
/
main.rs
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::gps;
use common::screen;
use common::time::Time;
+use common::mx25l::Mx25l;
use common::shell::Shell;
extern {
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 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;
let mut gps = gps::Gps::new();
let mut gps_has_fix = false;