1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Minor makefile change to support windows better

Removed uninitialised warnings
This commit is contained in:
blckmn 2017-07-02 06:55:14 +10:00
parent 43c46d3845
commit 67d2c3ef25
6 changed files with 9 additions and 11 deletions

View file

@ -872,7 +872,7 @@ STATIC_UNIT_TESTED uint16_t cmsHandleKey(displayPort_t *pDisplay, uint8_t key)
uint16_t cmsHandleKeyWithRepeat(displayPort_t *pDisplay, uint8_t key, int repeatCount)
{
uint16_t ret;
uint16_t ret = 0;
for (int i = 0 ; i < repeatCount ; i++) {
ret = cmsHandleKey(pDisplay, key);