summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2018-10-11 17:02:29 +1100
committerNick Moore <nick@zoic.org>2018-10-11 17:02:29 +1100
commita4a0cf826b9d39f14317e6021ac2a5c08d575fbd (patch)
tree5c7f5acdd6320d515b0016bacf1e51d1b20bdfad
parenta580e870c385c9cdd698f04eb6a6ee34aff2f5ab (diff)
fix doc comments, translations again
-rw-r--r--locale/circuitpython.pot2
-rw-r--r--locale/fr.po10
-rw-r--r--shared-bindings/wiznet/wiznet5k.c11
-rw-r--r--shared-module/wiznet/wiznet5k.c10
4 files changed, 15 insertions, 18 deletions
diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot
index be88a16f5..6c2a10891 100644
--- a/locale/circuitpython.pot
+++ b/locale/circuitpython.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-10-11 16:27+1100\n"
+"POT-Creation-Date: 2018-10-11 17:02+1100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/locale/fr.po b/locale/fr.po
index d6f572069..1658d90ce 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-10-11 16:27+1100\n"
+"POT-Creation-Date: 2018-10-11 17:02+1100\n"
"PO-Revision-Date: 2018-08-14 11:01+0200\n"
"Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n"
"Language-Team: fr\n"
@@ -2523,9 +2523,9 @@ msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format"
#, fuzzy
-#~ msgid "value_size must be power of two"
-#~ msgstr "'len' doit être un multiple de 4"
-
-#, fuzzy
#~ msgid "palette must be displayio.Palette"
#~ msgstr "la palette doit être longue de 32 octets"
+
+#, fuzzy
+#~ msgid "value_size must be power of two"
+#~ msgstr "'len' doit être un multiple de 4"
diff --git a/shared-bindings/wiznet/wiznet5k.c b/shared-bindings/wiznet/wiznet5k.c
index b407dc5cb..32f100969 100644
--- a/shared-bindings/wiznet/wiznet5k.c
+++ b/shared-bindings/wiznet/wiznet5k.c
@@ -45,9 +45,16 @@
#include "shared-module/network/__init__.h"
#include "shared-module/wiznet/wiznet5k.h"
+//| .. currentmodule:: wiznet
+//|
+//| :class:`WIZNET5K` -- wrapper for Wiznet 5500 Ethernet interface
+//| ===============================================================
+//|
+//| .. class:: WIZNET5K(spi, cs, rst)
+//|
+//| Create a new WIZNET5500 interface using the specified pins
+//|
-/// \classmethod \constructor(spi, pin_cs, pin_rst)
-/// Create and return a WIZNET5K object.
STATIC mp_obj_t wiznet5k_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
// check arguments
mp_arg_check_num(n_args, n_kw, 3, 3, false);
diff --git a/shared-module/wiznet/wiznet5k.c b/shared-module/wiznet/wiznet5k.c
index 1ae73a515..5c311bf49 100644
--- a/shared-module/wiznet/wiznet5k.c
+++ b/shared-module/wiznet/wiznet5k.c
@@ -50,16 +50,6 @@
#include "internet/dns/dns.h"
#include "internet/dhcp/dhcp.h"
-//| .. currentmodule:: wiznet
-//|
-//| :class:`WIZNET5K` -- wrapper for Wiznet 5500 Ethernet interface
-//| ===============================================================
-//|
-//| .. class:: WIZNET5K(spi, cs, rst)
-//|
-//| Create a new WIZNET5500 interface using the specified pins
-//|
-
typedef struct _wiznet5k_obj_t {
mp_obj_base_t base;
mp_uint_t cris_state;