Harshit Shivhare commented on a discussion on 
cpukit/libfs/src/littlefs/rtems-littlefs-init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142964

 > +  lfs_cfg->read_size = lfs_cfg->block_size;
 > +  lfs_cfg->prog_size = lfs_cfg->block_size;
 > +  lfs_cfg->cache_size = lfs_cfg->block_size;
 > +  lfs_cfg->lookahead_size = 16;
 > +  lfs_cfg->block_cycles   = 500;
 > +
 > +  return 0;
 > +}
 > +
 > +void rtems_littlefs_config_destroy(struct lfs_config* lfs_cfg)
 > +{
 > +  rtems_littlefs_config_context_t *ctx = lfs_cfg->context;
 > +  if ( ctx == NULL ) {
 > +    return;
 > +  }
 > +  rtems_recursive_mutex_destroy(&ctx->mutex);

like this rtems_recursive_mutex_destroy( **&**ctx**-\>**mutex ) ? would like to 
ask why exactly

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142964
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to