Adapt to changed callback signature
This commit is contained in:
parent
cec0ec6299
commit
edd1c53401
2
adc/adc
2
adc/adc
@ -1 +1 @@
|
||||
Subproject commit 5d38b97254e271e3e0fb48739a927be6eae26a7f
|
||||
Subproject commit 5e9dac872aac65a7dbcc300430efe1d95e7b15fc
|
@ -57,6 +57,21 @@
|
||||
</dependencies>
|
||||
</framework-data>
|
||||
</AsfFrameworkConfig>
|
||||
<AAFDebugger>
|
||||
<AAFDebugFiles xmlns="">
|
||||
<DebugFile>
|
||||
<path>\Debug\adc.lss</path>
|
||||
<AAFSetting>
|
||||
<Label>Lss Files</Label>
|
||||
<Extention>.lss</Extention>
|
||||
<Regex>^\s*(?<address>[a-f0-9]*):\s*.*$</Regex>
|
||||
<DebugEnabled>true</DebugEnabled>
|
||||
<RegexGroups>address</RegexGroups>
|
||||
<DebuggerExpression>$pc</DebuggerExpression>
|
||||
</AAFSetting>
|
||||
</DebugFile>
|
||||
</AAFDebugFiles>
|
||||
</AAFDebugger>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<ToolchainSettings>
|
||||
|
@ -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<void>(adcSample);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user