Blog 3: missing function

Hi, in blog 3, the code 3.3.0-Alpha, Ruuvi_Platform_Error_To_String function is called for 3 times, once in main.c and twice in Ruuvi_error.c. when compling, I am getting a compilation error message of Ruuvi_Platform_Error_To_String is missing. please see attached the screenshot. However, I commented those line of code and compiled the program.

Also, there is a mismatch in the current measurements actual vs blog post. please see the screenshot.

the compilation error due to missing function issue appeared in 3.2.0-Alpha code too.

How to fix it? what is the reason for mismatch in the current measurements?

The mismatch in current measurement is probably due to different code being run.

Have you run git submodule update --init --recursive when you moved to next part of code? That synchronises the dependencies and you should be able to compile the project

Yes. I ran this command “git submodule update --init --recursive”. As stated in the blog 1, I ran all the commands to get the copy of the specific version.