Make halsimgui::DrawLEDs() values parameter const (#2088)

This commit is contained in:
Peter Johnson
2019-11-15 20:29:51 -08:00
committed by GitHub
parent 841ef91c0f
commit 5d39bf8065
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ namespace halsimgui {
* @param spacing spacing between each LED (both horizontal and vertical);
* if 0, defaults to 1/3 of font size
*/
void DrawLEDs(int* values, int numValues, int cols, const ImU32* colors,
void DrawLEDs(const int* values, int numValues, int cols, const ImU32* colors,
float size = 0.0f, float spacing = 0.0f);
} // namespace halsimgui