Skip to content

Commit

Permalink
Added alias for sd_clear as clearDisplay which correctly clears the d…
Browse files Browse the repository at this point in the history
…isplay, unlike the existing clear function
  • Loading branch information
harrisonhjones committed Nov 30, 2014
1 parent 98d8b9a commit 7336693
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ePaper.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

#define EP_DEBUG 1

#define clearDisplay() clear_sd()

#if EP_DEBUG
#define print_ep(X) Serial.print(X)
#define println_ep(X) Serial.println(X)
Expand Down
1 change: 1 addition & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ init_io KEYWORD2
display KEYWORD2
image_flash KEYWORD2
clear KEYWORD2
clearDisplay KEYWORD2
deawUnicodeString KEYWORD2
drawPixel KEYWORD2
drawChar KEYWORD2
Expand Down

0 comments on commit 7336693

Please sign in to comment.