diff options
author | barthess <barthess@yandex.ru> | 2015-08-04 13:30:01 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2015-08-04 13:30:01 +0300 |
commit | e7a3df6c18173ad12750faa56cb8a8f6c68874cb (patch) | |
tree | f3bcdf0ff5bca120e42cd9f534a5d1d5518eb88a /os/various | |
parent | 8c8c0a0be4dc937c36bac5c5f29a1974e5a1e0ec (diff) | |
download | ChibiOS-Contrib-e7a3df6c18173ad12750faa56cb8a8f6c68874cb.tar.gz ChibiOS-Contrib-e7a3df6c18173ad12750faa56cb8a8f6c68874cb.tar.bz2 ChibiOS-Contrib-e7a3df6c18173ad12750faa56cb8a8f6c68874cb.zip |
Improved FSMC.
SRAM configuration is much more flexible now.
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/memtest.cpp | 2 | ||||
-rw-r--r-- | os/various/memtest.h (renamed from os/various/memtest.hpp) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/os/various/memtest.cpp b/os/various/memtest.cpp index 175ac56..b853fe7 100644 --- a/os/various/memtest.cpp +++ b/os/various/memtest.cpp @@ -18,7 +18,7 @@ #include <stddef.h> #include <stdlib.h> -#include "memtest.hpp" +#include "memtest.h" static unsigned int prng_seed = 42; diff --git a/os/various/memtest.hpp b/os/various/memtest.h index ba686a3..721b36b 100644 --- a/os/various/memtest.hpp +++ b/os/various/memtest.h @@ -14,8 +14,8 @@ limitations under the License. */ -#ifndef MEMTEST_HPP_ -#define MEMTEST_HPP_ +#ifndef MEMTEST_H_ +#define MEMTEST_H_ #define MEMTEST_WALKING_ONE (1 << 0) #define MEMTEST_WALKING_ZERO (1 << 1) @@ -37,7 +37,7 @@ typedef uint32_t testtype; /* * Error call back. */ -typedef void (*memtestecb_t)(memtest_t *testp, testtype type, size_t offset, +typedef void (*memtestecb_t)(memtest_t *testp, testtype type, size_t index, size_t current_width, uint32_t got, uint32_t expect); /* @@ -85,4 +85,4 @@ extern "C" { } #endif -#endif /* MEMTEST_HPP_ */ +#endif /* MEMTEST_H_ */ |