File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
features/storage/blockdevice Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -87,31 +87,26 @@ int HeapBlockDevice::deinit()
87
87
88
88
bd_size_t HeapBlockDevice::get_read_size () const
89
89
{
90
- MBED_ASSERT (_blocks != NULL );
91
90
return _read_size;
92
91
}
93
92
94
93
bd_size_t HeapBlockDevice::get_program_size () const
95
94
{
96
- MBED_ASSERT (_blocks != NULL );
97
95
return _program_size;
98
96
}
99
97
100
98
bd_size_t HeapBlockDevice::get_erase_size () const
101
99
{
102
- MBED_ASSERT (_blocks != NULL );
103
100
return _erase_size;
104
101
}
105
102
106
103
bd_size_t HeapBlockDevice::get_erase_size (bd_addr_t addr) const
107
104
{
108
- MBED_ASSERT (_blocks != NULL );
109
105
return _erase_size;
110
106
}
111
107
112
108
bd_size_t HeapBlockDevice::size () const
113
109
{
114
- MBED_ASSERT (_blocks != NULL );
115
110
return _count * _erase_size;
116
111
}
117
112
@@ -193,4 +188,3 @@ const char *HeapBlockDevice::get_type() const
193
188
}
194
189
195
190
} // namespace mbed
196
-
You can’t perform that action at this time.
0 commit comments