From 2da831eb621ec8831e99a93879c625685fc4e1fd Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Fri, 10 Nov 2023 16:46:48 -0500 Subject: [PATCH] Fix variable name --- www/api/controllers/cape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/api/controllers/cape.php b/www/api/controllers/cape.php index 8d765f68d..046cded98 100644 --- a/www/api/controllers/cape.php +++ b/www/api/controllers/cape.php @@ -46,7 +46,7 @@ function GetEEPROMFilename() $eepromFile = ""; if (file_exists("/home/fpp/media/tmp/eeprom_location.txt")) { - $eepromLoc = file_get_contents("/home/fpp/media/tmp/eeprom_location.txt"); + $eepromFile = file_get_contents("/home/fpp/media/tmp/eeprom_location.txt"); } if (!file_exists($eepromFile) && startsWith($eepromFile, "/sys/bus/i2c/devices/")) { $target = "/sys/bus/i2c/devices/i2c-1/new_device"