Commit Graph
9 Commits
Author SHA1 Message Date
Oleg Evseev d55e44b2ea Fix sscanf character conversion (%c): do not add '\0' at the end as for strings, cause, for example, parsing one character will fill two bytes: character itself and zero one '\0' after it, so will overflow one byte variable argument and corrupt memory for variables allocated after it. 2017-11-19 13:33:46 -06:00
Oleg Evseev ef059f78ac STM32 PWR: Adds stm32_pwr_getsbf and stm32_pwr_getwuf functions that return the standby flag and the wakeup flag PWR power control/status register. 2017-09-28 07:50:21 -06:00
Oleg Evseev 3596c75d78 STM32: Add logic for enabling wakeup pins. 2017-09-08 13:23:08 -06:00
Oleg Evseev 7e6ce93b61 PM: Fix typo in conditional compilation. 2017-08-30 08:47:58 -06:00
Oleg Evseev 18f4dcffa8 Eliminate unused variable warning. 2017-08-30 08:46:48 -06:00
Oleg Evseev 8082a5d3dc Merged in lukegluke/nuttx (pull request #411)
Use struct instead of pointer to the struct as sizeof argument in memset in usbmsc.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 17:51:11 +00:00
Oleg Evseev 794ecbfd86 Use struct instead of pointer to the struct as sizeof argument in memset in usbmsc.c
Otherwise it leads to error: argument to 'sizeof' in 'memset' call is the same pointer type 'struct usbmsc_lun_s *' as the destination
2017-06-19 19:45:35 +03:00
Oleg Evseev 70adff3ffc Merged in lukegluke/nuttx/lukegluke/kconfig-correction-edited-online-with-bi-1497624177393 (pull request #401)
Kconfig correction

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-16 23:34:22 +00:00
Oleg Evseev 31bde601b6 Kconfig correction
edited online with Bitbucket
2017-06-16 14:43:11 +00:00