From 48924123a6b1100a17ae6da29347cf7667a10439 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Mon, 19 May 2014 20:50:30 +0200 Subject: [PATCH] Fix a typo in the profile ringbuffer start address. The profile ringbuffer is supposed to be located after the logbook ringbuffer, but due a silly typo they did overlap with 256 bytes. --- src/cressi_leonardo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cressi_leonardo.c b/src/cressi_leonardo.c index 9bee775..87a6412 100644 --- a/src/cressi_leonardo.c +++ b/src/cressi_leonardo.c @@ -46,7 +46,7 @@ #define RB_LOGBOOK_SIZE 0x52 #define RB_LOGBOOK_COUNT ((RB_LOGBOOK_END - RB_LOGBOOK_BEGIN) / RB_LOGBOOK_SIZE) -#define RB_PROFILE_BEGIN 0x1338 +#define RB_PROFILE_BEGIN 0x1438 #define RB_PROFILE_END SZ_MEMORY #define RB_PROFILE_DISTANCE(a,b) ringbuffer_distance (a, b, 0, RB_PROFILE_BEGIN, RB_PROFILE_END)