examples/udpblaster: Fix some nxstyle errors

This commit is contained in:
YAMAMOTO Takashi 2020-03-29 01:21:56 +09:00 committed by Xiang Xiao
parent 60378318d3
commit e8b0c903bc

View File

@ -49,6 +49,10 @@
#include "udpblaster.h"
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* main
****************************************************************************/
@ -115,10 +119,13 @@ int main(int argc, char **argv, char **envp)
* bits/sec = CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE
* bytes/sec = CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE / 8
* packets/sec = (bytes/sec) / (bytes/packet)
* = CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE / UDPBLASTER_SENDSIZE / 8
* = CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE /
* UDPBLASTER_SENDSIZE / 8
* delay = microseconds/packet
* = (1000000 * UDPBLASTER_SENDSIZE) / CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE / 8
* = (125000 * UDPBLASTER_SENDSIZE) / CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE
* = (1000000 * UDPBLASTER_SENDSIZE) /
* CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE / 8
* = (125000 * UDPBLASTER_SENDSIZE) /
* CONFIG_EXAMPLES_UDPBLASTER_HOSTRATE
*/
sendsize = UDPBLASTER_SENDSIZE;