Revision d54d2f07 Target/Source/AMiRo/helper.c

View differences:

Target/Source/AMiRo/helper.c
333 333
  saTimerUpdate(&stateStartTime);
334 334
  uint32_t currentTime = stateStartTime;
335 335

  
336
  /* return immediately if the number of bytes is zero */
337
  if (bytes == 0) {
338
    return;
339
  }
340

  
336 341
  /* either loop the specified number, or infinetly */
337 342
  while (loop < loops || loops == 0) {
338 343
    led = 0;

Also available in: Unified diff