Adapt to changed callback signature

This commit is contained in:
BlackMark 2020-04-13 00:03:32 +02:00
parent cec0ec6299
commit edd1c53401
3 changed files with 17 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5d38b97254e271e3e0fb48739a927be6eae26a7f Subproject commit 5e9dac872aac65a7dbcc300430efe1d95e7b15fc

View File

@ -57,6 +57,21 @@
</dependencies> </dependencies>
</framework-data> </framework-data>
</AsfFrameworkConfig> </AsfFrameworkConfig>
<AAFDebugger>
<AAFDebugFiles xmlns="">
<DebugFile>
<path>\Debug\adc.lss</path>
<AAFSetting>
<Label>Lss Files</Label>
<Extention>.lss</Extention>
<Regex>^\s*(?&lt;address&gt;[a-f0-9]*):\s*.*$</Regex>
<DebugEnabled>true</DebugEnabled>
<RegexGroups>address</RegexGroups>
<DebuggerExpression>$pc</DebuggerExpression>
</AAFSetting>
</DebugFile>
</AAFDebugFiles>
</AAFDebugger>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings> <ToolchainSettings>

View File

@ -2,7 +2,7 @@
#define ADC_INT_VECTOR #define ADC_INT_VECTOR
#include "adc/adc.hpp" #include "adc/adc.hpp"
static void adcReadCallback(uint16_t adcSample) static void adcReadCallback(const uint16_t &adcSample)
{ {
static_cast<void>(adcSample); static_cast<void>(adcSample);
} }