Skip to content
Snippets Groups Projects
Commit e0a6ee8d authored by Colten Edwards's avatar Colten Edwards Committed by Scott Lahteine
Browse files

[2.0] Fix up G33, LPC1768 + SDCARD_SORT_ALPHA (#8250)

* Update Conditionals_post.h

* Add a cast to round() to convert to a unsigned int

Add's a cast to round() so that it will compile properly. round() returns a float which must be cast to a integer for the following % operation. Use a unsigned int as a negative index to an array is wrong. Should never be more than 255 points allowing us to use a 8 bit cast.

* Update G33.cpp
parent 46c0b735
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment