Correct some errors found in build testing using recent commits.
This commit is contained in:
parent
53b7b41f90
commit
b48f46f1c8
@ -137,8 +137,8 @@ int photon_watchdog_initialize(void)
|
||||
|
||||
#ifdef CONFIG_PHOTON_IWDG
|
||||
wdinfo("Timeout = %d.\n", CONFIG_PHOTON_IWDG_TIMEOUT);
|
||||
ret = ioctl(&filestruct, WDIOC_SETTIMEOUT,
|
||||
(unsigned long)CONFIG_PHOTON_IWDG_TIMEOUT);
|
||||
ret = file_ioctl(&filestruct, WDIOC_SETTIMEOUT,
|
||||
(unsigned long)CONFIG_PHOTON_IWDG_TIMEOUT);
|
||||
#else
|
||||
# error "No watchdog configured"
|
||||
#endif
|
||||
|
@ -73,7 +73,7 @@
|
||||
int bchdev_unregister(FAR const char *chardev)
|
||||
{
|
||||
FAR struct bchlib_s *bch;
|
||||
FAR struct file *filestruct;
|
||||
FAR struct file filestruct;
|
||||
int ret;
|
||||
|
||||
/* Sanity check */
|
||||
|
Loading…
Reference in New Issue
Block a user