Skip to content

Commit f6603d7

Browse files
committed
httpService needs to return pointer to disk_dev
1 parent d992724 commit f6603d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/http/httpService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ esp_err_t fnHttpService::get_handler_eject(httpd_req_t *req)
761761
if(disk_dev->device_active) //set disk switched only if device was previosly mounted.
762762
disk_dev->switched = true;
763763
#else
764-
DEVICE_TYPE *disk_dev = theFuji->get_disk(ds)->disk_dev;
764+
DEVICE_TYPE *disk_dev = &theFuji->get_disk(ds)->disk_dev;
765765
#endif
766766
disk_dev->unmount();
767767
#ifdef BUILD_ATARI

0 commit comments

Comments
 (0)