const unsigned int PAGE_FILL = PAGE_SIZE - BATTFS_HEADER_LEN;
inode_t INODE = 0;
- inode_t MODE = 0;
+ unsigned int MODE = 0;
uint8_t buf[PAGE_FILL + BATTFS_HEADER_LEN / 2];
disk->erase(disk, 0);
const unsigned int PAGE_FILL = PAGE_SIZE - BATTFS_HEADER_LEN;
inode_t INODE = 0;
- inode_t MODE = 0;
+ unsigned int MODE = 0;
uint8_t buf[PAGE_FILL + BATTFS_HEADER_LEN / 2];
disk->erase(disk, 0);
BattFs fd1;
inode_t INODE = 0;
- inode_t MODE = BATTFS_CREATE;
+ unsigned int MODE = BATTFS_CREATE;
ASSERT(battfs_init(disk));
ASSERT(battfs_fileopen(disk, &fd1, INODE, MODE));
BattFs fd1;
inode_t INODE = 0;
- inode_t MODE = BATTFS_CREATE;
+ unsigned int MODE = BATTFS_CREATE;
uint8_t buf[1000];
ASSERT(battfs_init(disk));
BattFs fd1,fd2;
inode_t INODE1 = 1, INODE2 = 2;
- inode_t MODE = BATTFS_CREATE;
+ unsigned int MODE = BATTFS_CREATE;
uint8_t buf[1000];
ASSERT(battfs_init(disk));