mirror of
https://github.com/apache/nuttx.git
synced 2026-08-23 06:28:45 +00:00
Correct some errors found in build testing using recent commits.
This commit is contained in:
parent
53b7b41f90
commit
b48f46f1c8
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue