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); }