We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3839563 commit 0eb3475Copy full SHA for 0eb3475
I2CEEBlockDevice.cpp
@@ -147,3 +147,8 @@ bd_size_t I2CEEBlockDevice::size() const
147
{
148
return _size;
149
}
150
+
151
+const char *I2CEEBlockDevice::get_type() const
152
+{
153
+ return "I2CEE";
154
+}
I2CEEBlockDevice.h
@@ -156,6 +156,12 @@ class I2CEEBlockDevice : public BlockDevice {
156
* @return Size of the underlying device in bytes
157
*/
158
virtual bd_size_t size() const;
159
160
+ /** Get the BlockDevice class type.
161
+ *
162
+ * @return A string representation of the BlockDevice class type.
163
+ */
164
+ virtual const char *get_type() const;
165
166
private:
167
I2C * _i2c;
0 commit comments