Cleaned up header inclusion.
Now all examples are including only the modules they really need. Also each header file of the library is including only the necessary headers making it possible to use these modules in parallel with other implementations that may collide with the definitions in other modules.
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
#ifndef LIBOPENSTM32_FLASH_H
|
||||
#define LIBOPENSTM32_FLASH_H
|
||||
|
||||
#include <libopenstm32.h>
|
||||
#include <libopenstm32/memorymap.h>
|
||||
#include <libopenstm32/common.h>
|
||||
|
||||
/* --- FLASH registers ----------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user