[riot-notifications] [RIOT-OS/RIOT] usbus: Add automated test (#12267)

Dylan Laduranty notifications at github.com
Wed Sep 18 21:04:51 CEST 2019


dylad commented on this pull request.



> +    /* Validate direction and content for the current state */
+    switch (req_phase) {
+        case TEST_REQ_PHASE_START_GET:
+            _validate_get_req_start(ep);
+            _handle_data(dev, ep, len);
+            break;
+        case TEST_REQ_PHASE_START_SET:
+            _validate_set_req_start(dev, ep, len);
+            break;
+        case TEST_REQ_PHASE_OUTACK:
+            _validate_out_ack(dev, ep);
+            break;
+        case TEST_REQ_PHASE_INACK:
+            _validate_in_ack(dev, ep, len);
+            break;
+        default:

a comment should be enough, there is no need to spam output if it's heavily used.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12267#discussion_r325843972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190918/274437c3/attachment.htm>


More information about the notifications mailing list