diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/fat.c | 4 | ||||
-rw-r--r-- | firmware/target/arm/philips/hdd6330/button-hdd6330.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index f76b10c078..51b0cba372 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -1596,9 +1596,9 @@ static void randomize_dos_name(unsigned char *name) | |||
1596 | while(i++ < 8) | 1596 | while(i++ < 8) |
1597 | { | 1597 | { |
1598 | /* hunt for ~ and where to put it */ | 1598 | /* hunt for ~ and where to put it */ |
1599 | if((!tilde) && (*nameptr == '~')) | 1599 | if(!tilde && *nameptr == '~') |
1600 | tilde = nameptr; | 1600 | tilde = nameptr; |
1601 | if((!lastpt) && ((*nameptr == ' ' || *nameptr == '~'))) | 1601 | if(!lastpt && (*nameptr == ' ' || *nameptr == '~')) |
1602 | lastpt = nameptr; | 1602 | lastpt = nameptr; |
1603 | nameptr++; | 1603 | nameptr++; |
1604 | } | 1604 | } |
diff --git a/firmware/target/arm/philips/hdd6330/button-hdd6330.c b/firmware/target/arm/philips/hdd6330/button-hdd6330.c index 924069bcbd..75e14e375f 100644 --- a/firmware/target/arm/philips/hdd6330/button-hdd6330.c +++ b/firmware/target/arm/philips/hdd6330/button-hdd6330.c | |||
@@ -82,7 +82,7 @@ void button_int(void) | |||
82 | { | 82 | { |
83 | int_btn |= BUTTON_TAP; | 83 | int_btn |= BUTTON_TAP; |
84 | } | 84 | } |
85 | else if ((data[0] == MEP_ABSOLUTE_HEADER)) | 85 | else if (data[0] == MEP_ABSOLUTE_HEADER) |
86 | { | 86 | { |
87 | if (data[1] & MEP_FINGER) | 87 | if (data[1] & MEP_FINGER) |
88 | { | 88 | { |