Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Nov 10, 2023
1 parent 7396108 commit 2da831e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/api/controllers/cape.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2da831e

Please sign in to comment.