Browse Source

Forgot 'const' in method body

pull/51/head
Byron Batteson 8 years ago
parent
commit
b6623fd1df
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wiringPi/wiringPi.c

+ 1
- 1
wiringPi/wiringPi.c View File

@@ -1068,7 +1068,7 @@ int getAlt (int pin)
return alt ;
}

char* getAltText (int pin)
const char* getAltText (int pin)
{
static char *alts [] = {
"IN", "OUT", "ALT5", "ALT4", "ALT0", "ALT1", "ALT2", "ALT3"


Loading…
Cancel
Save