Skip to content

Commit e0274e2

Browse files
msierszulskiMaureenHelm
authored andcommitted
drivers: fpga: change retval description
This commit fixes the description of the values returned by the get_status() function. Signed-off-by: Mateusz Sierszulski <[email protected]>
1 parent 2a51036 commit e0274e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/drivers/fpga.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ __subsystem struct fpga_driver_api {
4848
*
4949
* @param dev FPGA device structure.
5050
*
51-
* @retval 0 if the FPGA is in ACTIVE state.
52-
* @retval 1 if the FPGA is in INACTIVE state.
51+
* @retval 0 if the FPGA is in INACTIVE state.
52+
* @retval 1 if the FPGA is in ACTIVE state.
5353
*/
5454
static inline enum FPGA_status fpga_get_status(const struct device *dev)
5555
{

0 commit comments

Comments
 (0)