Compare commits

..

2 Commits

Author SHA1 Message Date
edd1c53401 Adapt to changed callback signature 2020-04-13 00:03:32 +02:00
cec0ec6299 Updated adc submodule 2020-04-05 03:40:25 +02:00
3 changed files with 17 additions and 2 deletions

Submodule adc/adc updated: bcae00c0f3...5e9dac872a

View File

@@ -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*(?&lt;address&gt;[a-f0-9]*):\s*.*$</Regex>
<DebugEnabled>true</DebugEnabled>
<RegexGroups>address</RegexGroups>
<DebuggerExpression>$pc</DebuggerExpression>
</AAFSetting>
</DebugFile>
</AAFDebugFiles>
</AAFDebugger>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings>

View File

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