cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax Error in HAL DAC Function

AE104
Senior

Hello,

Probably it is a simple question but I got a syntax error of HAL DAC function? Do you have an idea about the problem?

0693W00000YApeIQAT.png

1 ACCEPTED SOLUTION

Accepted Solutions
AE104
Senior

Thank you @KnarfB​ and @Piranha​ for your responses! I fixed the problem with placing the DAC initialization in user code begin_2 section.

View solution in original post

3 REPLIES 3
KnarfB
Principal III

There is probably a syntax error above which is not shown or not detectable by the compiler like an extra/missing { or comment or such because the error text talks about a "declaration".

hth

KnarfB

Piranha
Chief II

Start fixing the code with the first error, because the rest can be just a consequence of the first one.

AE104
Senior

Thank you @KnarfB​ and @Piranha​ for your responses! I fixed the problem with placing the DAC initialization in user code begin_2 section.