|
@@ -138,7 +138,8 @@ namespace ExtUI {
|
138
|
138
|
float getMeshPoint(const xy_uint8_t &pos);
|
139
|
139
|
void setMeshPoint(const xy_uint8_t &pos, const float zval);
|
140
|
140
|
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval);
|
141
|
|
- inline void onMeshUpdate(const xy_uint8_t &pos, const float zval) { onMeshUpdate(pos.x, pos.y, zval); }
|
|
141
|
+ inline void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) { onMeshUpdate((uint8_t)xpos, (uint8_t)ypos, zval); }
|
|
142
|
+ inline void onMeshUpdate(const xy_int8_t &pos, const float zval) { onMeshUpdate(pos.x, pos.y, zval); }
|
142
|
143
|
#endif
|
143
|
144
|
#endif
|
144
|
145
|
|