File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 25
25
#include " mbed_trace.h"
26
26
#define TRACE_GROUP " SFDP"
27
27
28
- namespace mbed {
28
+ namespace {
29
29
30
30
/* Extracts Parameter ID MSB from the second DWORD of a parameter header */
31
- static inline uint8_t sfdp_get_param_id_msb (uint32_t dword2)
31
+ inline uint8_t sfdp_get_param_id_msb (uint32_t dword2)
32
32
{
33
33
return (dword2 & 0xFF000000 ) >> 24 ;
34
34
}
35
35
36
36
/* Extracts Parameter Table Pointer from the second DWORD of a parameter header */
37
- static inline uint32_t sfdp_get_param_tbl_ptr (uint32_t dword2)
37
+ inline uint32_t sfdp_get_param_tbl_ptr (uint32_t dword2)
38
38
{
39
39
return dword2 & 0x00FFFFFF ;
40
40
}
41
+ }
41
42
43
+ namespace mbed {
42
44
43
45
/* Verifies SFDP Header and return number of parameter headers */
44
46
int sfdp_parse_sfdp_header (sfdp_hdr *sfdp_hdr_ptr)
You can’t perform that action at this time.
0 commit comments