mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 06:11:24 +03:00
Try again to calm the type warnings
This commit is contained in:
parent
6b44659419
commit
cb05a5881f
@ -65,7 +65,7 @@ ENABLE_COPY_CHAN_TO_VFO := 1 copy current channel into the other VFO
|
||||
* Long-press 'M' .. Copy selected channel into same VFO, then switch VFO to frequency mode
|
||||
*
|
||||
* Long-press '7' .. Toggle selected channel scanlist setting .. if VOX is disabled in Makefile
|
||||
* or
|
||||
* or
|
||||
* Long-press '5' .. Toggle selected channel scanlist setting .. if NOAA is disabled in Makefile
|
||||
*
|
||||
* Long-press '*' .. Start scanning, then toggles scanlist scan 1, 2 or ALL channel scanning
|
||||
|
@ -54,7 +54,7 @@ static const struct {
|
||||
},
|
||||
/* First row */
|
||||
{
|
||||
.set_to_zero_mask = ~(1u << GPIOA_PIN_KEYBOARD_4),
|
||||
.set_to_zero_mask = (uint16_t)(~(1u << GPIOA_PIN_KEYBOARD_4)),
|
||||
.pins = {
|
||||
{ .key = KEY_MENU, .pin = GPIOA_PIN_KEYBOARD_0},
|
||||
{ .key = KEY_1, .pin = GPIOA_PIN_KEYBOARD_1},
|
||||
@ -64,7 +64,7 @@ static const struct {
|
||||
},
|
||||
/* Second row */
|
||||
{
|
||||
.set_to_zero_mask = ~(1u << GPIOA_PIN_KEYBOARD_5),
|
||||
.set_to_zero_mask = (uint16_t)(~(1u << GPIOA_PIN_KEYBOARD_5)),
|
||||
.pins = {
|
||||
{ .key = KEY_UP, .pin = GPIOA_PIN_KEYBOARD_0},
|
||||
{ .key = KEY_2 , .pin = GPIOA_PIN_KEYBOARD_1},
|
||||
@ -74,7 +74,7 @@ static const struct {
|
||||
},
|
||||
/* Third row */
|
||||
{
|
||||
.set_to_zero_mask = ~(1u << GPIOA_PIN_KEYBOARD_6),
|
||||
.set_to_zero_mask = (uint16_t)(~(1u << GPIOA_PIN_KEYBOARD_6)),
|
||||
.pins = {
|
||||
{ .key = KEY_DOWN, .pin = GPIOA_PIN_KEYBOARD_0},
|
||||
{ .key = KEY_3 , .pin = GPIOA_PIN_KEYBOARD_1},
|
||||
@ -84,7 +84,7 @@ static const struct {
|
||||
},
|
||||
/* Fourth row */
|
||||
{
|
||||
.set_to_zero_mask = ~(1u << GPIOA_PIN_KEYBOARD_7),
|
||||
.set_to_zero_mask = (uint16_t)(~(1u << GPIOA_PIN_KEYBOARD_7)),
|
||||
.pins = {
|
||||
{ .key = KEY_EXIT, .pin = GPIOA_PIN_KEYBOARD_0},
|
||||
{ .key = KEY_STAR, .pin = GPIOA_PIN_KEYBOARD_1},
|
||||
|
Loading…
x
Reference in New Issue
Block a user