Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
irobotError.cpp
00001 #include "irobotError.h" 00002 00003 int32_t irobot_StatusMerge( 00004 int32_t * const status, 00005 const int32_t newStatus 00006 ){ 00007 if (!status){ 00008 return ERROR_INVALID_PARAMETER; 00009 } 00010 else if(!irobot_IsError(*status) 00011 && (*status == ERROR_SUCCESS || irobot_IsError(newStatus)) 00012 ){ 00013 *status = newStatus; 00014 } 00015 00016 return *status; 00017 }
Generated on Wed Jul 13 2022 12:36:27 by
1.7.2