Your issue is that you are confusing the compiler:
spi_start();
initialize();
Are function calls and not function declarations.
Please include the return types:
void spi_start();
void initialise();
More Related Contents:
- how can i increase the speed of my C++ calculation [closed]
- "imspossible" error on a simplest code [closed]
- Optimization code for a debug function (c++11 with templates) [closed]
- C++ Creating a parking charge
- Why does changing 0.1f to 0 slow down performance by 10x?
- How to convert a lambda to an std::function using templates
- C++, variable declaration in ‘if’ expression
- Meaning of = delete after function declaration
- Why is std::function not equality comparable?
- Top-level const doesn’t influence a function signature
- Which is more efficient: Return a value vs. Pass by reference?
- Why does C++ allow unnamed function parameters?
- Is there a way to pass auto as an argument in C++?
- Using multiple .cpp files in c++ program?
- Compiling a static executable with CMake
- Inferring the call signature of a lambda or arbitrary callable for “make_function”
- Why use a const member function?
- Declare variables at top of function or in separate scopes?
- Is there any way a C/C++ program can crash before main()?
- Why I can access member functions even after the object was deleted?
- Calling a function in main
- C++ Function Callbacks: Cannot convert from a member function to a function signature
- Pointer to array of unspecified size “(*p)[]” illegal in C++ but legal in C
- About Pointers To Functions in function declarations
- Why the initializer of std::function has to be CopyConstructible?
- Why am I able to make a function call using an invalid class pointer
- Can I use Qt without qmake or Qt Creator?
- Pointing to a function that is a class member – GLFW setKeycallback
- Can I treat a specific warning as an error?
- Why can’t C++11 move a noncopyable functor to a std::function?