File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -34,20 +34,20 @@ class Arduino_UnifiedStorage {
34
34
/* *
35
35
* Initializes the storage.
36
36
*
37
- * @return 1 if successful, 0 if failed.
37
+ * @return true if successful, false if failed.
38
38
*/
39
39
virtual bool begin () = 0;
40
40
41
41
/* *
42
42
* Initializes the storage with the specified file system.
43
43
* @param fs The desired file system (FS_FAT or FS_LITTLEFS).
44
- * @return 1 if successful, 0 if failed.
44
+ * @return true if successful, false if failed.
45
45
*/
46
46
virtual bool begin (FileSystems fs) = 0;
47
47
48
48
/* *
49
49
* Unmounts the storage.
50
- * @return 1 if successful, 0 if failed.
50
+ * @return true if successful, false if failed.
51
51
*/
52
52
virtual bool unmount () = 0;
53
53
@@ -59,7 +59,7 @@ class Arduino_UnifiedStorage {
59
59
60
60
/* *
61
61
* Formats the storage with the selected file system.
62
- * @return 1 if successful, 0 if failed.
62
+ * @return true if successful, false if failed.
63
63
*/
64
64
virtual bool format (FileSystems fs) = 0;
65
65
Original file line number Diff line number Diff line change @@ -25,22 +25,22 @@ class InternalStorage : public Arduino_UnifiedStorage {
25
25
/* *
26
26
* Initializes the internal storage.
27
27
*
28
- * @return 1 if successful, 0 if failed.
28
+ * @return true if successful, false if failed.
29
29
*/
30
30
bool begin () override ;
31
31
32
32
/* *
33
33
* Initializes the internal storage with the specified file system.
34
34
*
35
35
* @param fs The desired file system (FS_FAT or FS_LITTLEFS).
36
- * @return 1 if successful, 0 if failed.
36
+ * @return true if successful, false if failed.
37
37
*/
38
38
bool begin (FileSystems fs) override ;
39
39
40
40
/* *
41
41
* Unmounts the internal storage.
42
42
*
43
- * @return 1 if successful, 0 if failed.
43
+ * @return true if successful, false if failed.
44
44
*/
45
45
bool unmount () override ;
46
46
@@ -68,7 +68,7 @@ class InternalStorage : public Arduino_UnifiedStorage {
68
68
/* *
69
69
* Formats the internal storage with the selceted file system.
70
70
*
71
- * @return 1 if successful, 0 if failed.
71
+ * @return true if successful, false if failed.
72
72
*/
73
73
bool format (FileSystems fs) override ;
74
74
Original file line number Diff line number Diff line change @@ -20,22 +20,22 @@ class SDStorage: public Arduino_UnifiedStorage {
20
20
/* *
21
21
* Initializes the SD card storage.
22
22
*
23
- * @return 1 if successful, 0 if failed.
23
+ * @return true if successful, false if failed.
24
24
*/
25
25
bool begin () override ;
26
26
27
27
/* *
28
28
* Initializes the SD card storage with the specified file system.
29
29
*
30
30
* @param fs The desired file system (FS_FAT or FS_LITTLEFS).
31
- * @return 1 if successful, 0 if failed.
31
+ * @return true if successful, false if failed.
32
32
*/
33
33
bool begin (FileSystems fs) override ;
34
34
35
35
/* *
36
36
* Unmounts the SD card storage.
37
37
*
38
- * @return 1 if successful, 0 if failed.
38
+ * @return true if successful, false if failed.
39
39
*/
40
40
bool unmount () override ;
41
41
@@ -49,7 +49,7 @@ class SDStorage: public Arduino_UnifiedStorage {
49
49
/* *
50
50
* Formats the SD card storage with the selected file system.
51
51
*
52
- * @return 1 if successful, 0 if failed.
52
+ * @return true if successful, false if failed.
53
53
*/
54
54
bool format (FileSystems fs) override ;
55
55
Original file line number Diff line number Diff line change @@ -17,22 +17,22 @@ class USBStorage : public Arduino_UnifiedStorage {
17
17
/* *
18
18
* Initializes the USB storage.
19
19
*
20
- * @return 1 if successful, 0 if failed.
20
+ * @return true if successful, false if failed.
21
21
*/
22
22
bool begin () override ;
23
23
24
24
/* *
25
25
* Initializes the USB storage with the specified file system.
26
26
*
27
27
* @param fs The desired file system (FS_FAT or FS_LITTLEFS).
28
- * @return 1 if successful, 0 if failed.
28
+ * @return true if successful, false if failed.
29
29
*/
30
30
bool begin (FileSystems fs) override ;
31
31
32
32
/* *
33
33
* Unmounts the USB storage.
34
34
*
35
- * @return 1 if successful, 0 if failed.
35
+ * @return true if successful, false if failed.
36
36
*/
37
37
bool unmount () override ;
38
38
@@ -46,7 +46,7 @@ class USBStorage : public Arduino_UnifiedStorage {
46
46
/* *
47
47
* Formats the USB storage with the selected file system.
48
48
*
49
- * @return 1 if successful, 0 if failed.
49
+ * @return true if successful, false if failed.
50
50
*/
51
51
bool format (FileSystems fs) override ;
52
52
You can’t perform that action at this time.
0 commit comments