From edd1c5340109edcbf252b1a1d25cf6acb5562115 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Mon, 13 Apr 2020 00:03:32 +0200 Subject: [PATCH] Adapt to changed callback signature --- adc/adc | 2 +- adc/adc.cppproj | 15 +++++++++++++++ adc/main.cpp | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/adc/adc b/adc/adc index 5d38b97..5e9dac8 160000 --- a/adc/adc +++ b/adc/adc @@ -1 +1 @@ -Subproject commit 5d38b97254e271e3e0fb48739a927be6eae26a7f +Subproject commit 5e9dac872aac65a7dbcc300430efe1d95e7b15fc diff --git a/adc/adc.cppproj b/adc/adc.cppproj index 70300e7..0fdea95 100644 --- a/adc/adc.cppproj +++ b/adc/adc.cppproj @@ -57,6 +57,21 @@ + + + + \Debug\adc.lss + + + .lss + ^\s*(?<address>[a-f0-9]*):\s*.*$ + true + address + $pc + + + + diff --git a/adc/main.cpp b/adc/main.cpp index 957dd00..151a97d 100644 --- a/adc/main.cpp +++ b/adc/main.cpp @@ -2,7 +2,7 @@ #define ADC_INT_VECTOR #include "adc/adc.hpp" -static void adcReadCallback(uint16_t adcSample) +static void adcReadCallback(const uint16_t &adcSample) { static_cast(adcSample); }