diff options
author | px4dev <px4@purgatory.org> | 2012-10-21 19:12:32 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-21 19:12:32 -0700 |
commit | 5b9c46977051b2fd7926795b9acd27d8aba572cc (patch) | |
tree | f31e79791439b4cd0fec8d278fa51eedea0b467e /apps | |
parent | c9928c23f31fb6fc8580581c9c62a5f651ad4aff (diff) | |
download | px4-firmware-5b9c46977051b2fd7926795b9acd27d8aba572cc.tar.gz px4-firmware-5b9c46977051b2fd7926795b9acd27d8aba572cc.tar.bz2 px4-firmware-5b9c46977051b2fd7926795b9acd27d8aba572cc.zip |
Function type fix
Diffstat (limited to 'apps')
-rw-r--r-- | apps/drivers/stm32/tone_alarm/tone_alarm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/stm32/tone_alarm/tone_alarm.cpp b/apps/drivers/stm32/tone_alarm/tone_alarm.cpp index 5a0467197..bfde83cde 100644 --- a/apps/drivers/stm32/tone_alarm/tone_alarm.cpp +++ b/apps/drivers/stm32/tone_alarm/tone_alarm.cpp @@ -199,7 +199,7 @@ public: virtual int init(); virtual int ioctl(file *filp, int cmd, unsigned long arg); - virtual int write(file *filp, const char *buffer, size_t len); + virtual ssize_t write(file *filp, const char *buffer, size_t len); private: static const unsigned _max_pattern = 6; |