File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,12 +160,12 @@ class OLEDDisplay : public Stream {
160
160
uint16_t width (void ) const { return displayWidth; };
161
161
uint16_t height (void ) const { return displayHeight; };
162
162
163
- // Prepare the driver for resuming display usage after a deep sleep.
164
- // Returns true on success. Returns false on failure (no display detected etc) .
163
+ // Use this to resume after a deep sleep without resetting the display (what init() would do) .
164
+ // Returns true if connection to the display was established and the buffer allocated, false otherwise .
165
165
bool allocateBuffer ();
166
166
167
- // Initialize the driver and the display.
168
- // Returns true on success. Returns false on failure (no display detected etc) .
167
+ // Allocates the buffer and initializes the driver & display. Resets the display!
168
+ // Returns false if buffer allocation failed, true otherwise .
169
169
bool init ();
170
170
171
171
// Free the memory used by the display
You can’t perform that action at this time.
0 commit comments