From a4838e7cfcd22e75f2a8c483c529512ba7e7ce2d Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 3 Dec 2015 21:24:47 +0100 Subject: [PATCH] Fix the layout for the Oceanic Atom 1.0. The profile ringbuffer starts already at address 0x0440 instead of 0x0A40. The logbook ringbuffer is therefore a bit smaller too. --- src/oceanic_atom2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oceanic_atom2.c b/src/oceanic_atom2.c index 11cf940..98a8273 100644 --- a/src/oceanic_atom2.c +++ b/src/oceanic_atom2.c @@ -222,9 +222,9 @@ static const oceanic_common_layout_t oceanic_atom1_layout = { 0x0000, /* cf_devinfo */ 0x0040, /* cf_pointers */ 0x0240, /* rb_logbook_begin */ - 0x0A40, /* rb_logbook_end */ + 0x0440, /* rb_logbook_end */ 8, /* rb_logbook_entry_size */ - 0x0A40, /* rb_profile_begin */ + 0x0440, /* rb_profile_begin */ 0x8000, /* rb_profile_end */ 0, /* pt_mode_global */ 0 /* pt_mode_logbook */