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()
8787
8888bd_size_t HeapBlockDevice::get_read_size () const
8989{
90- MBED_ASSERT (_blocks != NULL );
9190 return _read_size;
9291}
9392
9493bd_size_t HeapBlockDevice::get_program_size () const
9594{
96- MBED_ASSERT (_blocks != NULL );
9795 return _program_size;
9896}
9997
10098bd_size_t HeapBlockDevice::get_erase_size () const
10199{
102- MBED_ASSERT (_blocks != NULL );
103100 return _erase_size;
104101}
105102
106103bd_size_t HeapBlockDevice::get_erase_size (bd_addr_t addr) const
107104{
108- MBED_ASSERT (_blocks != NULL );
109105 return _erase_size;
110106}
111107
112108bd_size_t HeapBlockDevice::size () const
113109{
114- MBED_ASSERT (_blocks != NULL );
115110 return _count * _erase_size;
116111}
117112
@@ -193,4 +188,3 @@ const char *HeapBlockDevice::get_type() const
193188}
194189
195190} // namespace mbed
196-
You can’t perform that action at this time.
0 commit comments