Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
This comparison is useless due to type limits
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Jul 2, 2014
1 parent 34b07ee commit 35440a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/lcd/c12332.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl<'a, S: SPI, T: Timer, P: GPIO> C12332<'a, S, T, P> {
}

pub fn set_pixel(&self, x: u32, y: u32, color: u16) {
if x > 127 || y > 31 || x < 0 || y < 0 {
if x > 127 || y > 31 {
return
}

Expand Down

0 comments on commit 35440a6

Please sign in to comment.