DFRobot / DFRobot_ST7687S

MIT License
16 stars 5 forks source link

fillRoundRect has the inappropriate number of parameters #6

Open onxygit opened 3 years ago

onxygit commented 3 years ago

Method signature for drawRoundRect should read: void drawRoundRect(int16_t x, int16_t y, int16_t width, int16_t height, int16_t r, uint16_t color);

you have int16_t, width -- this results in a compile time error which is easily overcome by adding a dummy value to the call, however it is annoying :)