diff options
Diffstat (limited to 'apps/drivers')
-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; |