mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
* Remove printfs.
This commit is contained in:
parent
0191c11595
commit
e9b0d2fe7c
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)$Id: rom.c,v 1.1 2006/06/17 22:41:21 adamdunkels Exp $
|
* @(#)$Id: rom.c,v 1.2 2006/12/01 15:06:42 bg- Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
@ -90,12 +90,10 @@ rom_erase(long nbytes, off_t offset)
|
|||||||
struct ictx c;
|
struct ictx c;
|
||||||
|
|
||||||
if(nbytes % ROM_ERASE_UNIT_SIZE != 0) {
|
if(nbytes % ROM_ERASE_UNIT_SIZE != 0) {
|
||||||
printf("rom_erase: bad size\n");
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(offset % ROM_ERASE_UNIT_SIZE != 0) {
|
if(offset % ROM_ERASE_UNIT_SIZE != 0) {
|
||||||
printf("rom_erase: bad offset\n");
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user