mixer: delete unused SimpleMixer::pwm_input()

This commit is contained in:
Daniel Agar
2019-11-22 15:00:25 -05:00
parent 37ec78dc2a
commit 9a572b0cf2
3 changed files with 2 additions and 80 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ int load_mixer_file(const char *fname, char *buf, unsigned maxlen)
/* open the mixer definition file */
fp = fopen(fname, "r");
if (fp == NULL) {
if (fp == nullptr) {
printf("file not found\n");
return -1;
}
@@ -64,7 +64,7 @@ int load_mixer_file(const char *fname, char *buf, unsigned maxlen)
/* get a line, bail on error/EOF */
line[0] = '\0';
if (fgets(line, sizeof(line), fp) == NULL) {
if (fgets(line, sizeof(line), fp) == nullptr) {
break;
}