mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
committed by
Joel Sherrill
parent
bd898b503f
commit
a73b52d6a4
@@ -320,7 +320,7 @@ static int rtems_flashdev_read_write(
|
||||
int status;
|
||||
|
||||
if ( read_buff == NULL && write_buff == NULL ) {
|
||||
return 0;
|
||||
rtems_set_errno_and_return_minus_one( EINVAL );
|
||||
}
|
||||
|
||||
/* Get flash address */
|
||||
|
||||
Reference in New Issue
Block a user