1. 29 10月, 2020 1 次提交
    • R
      Update GPIO library and samples to NRTs (#1215) · 942c3e12
      Rich Lander 提交于
      * Update GPIO library and samples to NRTs
      
      * Simplify if checks
      
      * Simplify if checks
      
      * Update per feedback
      
      * Fix code style with pragma
      
      * Update NRT annotations
      
      * Update Windows-specific NRT errors
      
      * Remove null check
      
      * Remove type constraint
      
      * Remove null check
      
      * Simplify NRT annotations
      
      * Enable nullable for _pinModes
      
      * Adding a comment to the pragma
      Co-authored-by: NJose Perez Rodriguez <joperezr@microsoft.com>
      942c3e12
  2. 30 4月, 2020 1 次提交
  3. 28 4月, 2020 1 次提交
  4. 15 12月, 2019 1 次提交
    • P
      Enable basic StyleCop rules (#892) · d5227542
      Patrick Grawehr 提交于
      * Added solution with all the projects
      
      Useful for global changes, i.e StyleCop or dependencies
      
      * Add stylecop rules to project
      
      Need workaround for an issue with GeneratePlatformNotSupportedAssembly
      
      Put a comment on all rules that are enabled in dotnet core but not here.
      Some rules are enabled here but not there.
      
      * Fix all enabled rules in Core
      
      * Use autogenerated instead of message suppression for Interop stuff
      
      * Iot.Device.Bindings (the overall project) imports the base Directory.Props directly, so exclude for now
      
      * Use #pragma warning disable instead of <autogenerated />
      d5227542
  5. 17 3月, 2019 1 次提交
  6. 07 3月, 2019 1 次提交
  7. 14 2月, 2019 1 次提交
  8. 09 2月, 2019 1 次提交
    • J
      Change PinValue to struct (#211) · f56cbdaf
      Jeremy Kuhne 提交于
      * Change PinValue to struct
      
      Allows easier interop with raw data and enables us to extend with additional functionality. This will avoid having to add additional APIs for convenience and repeated typing of `PinValue == PinValue.High ? 1 :  0`.
      
      Doesn't impact existing enum usage.
      
      Sample usage:
      
      ``` C#
          class Program
          {
              static void Main(string[] args)
              {
                  PinValue value = true;
                  Console.WriteLine($"True is {value}");
                  TestApi(0);
                  Console.WriteLine($"Equality is {PinValue.High == true}");
              }
      
              public static void TestApi(PinValue value)
              {
                  Console.WriteLine($"PinValue is {value}");
              }
          }
      ```
      
      * Ok, so you can't switch a struct. :) Bonus now that you don't have to. There is no such thing as an invalid PinValue anymore.
      f56cbdaf
  9. 23 1月, 2019 1 次提交
    • G
      Cleanup for GPIO drivers (#148) · d594ce9f
      Greg Ingram 提交于
      * Added editconfig file
      
      * Beginning of cleaning
      
      * Added summaries and sorted
      
      * Added callback summaries
      
      * Fixed ordering and switch/case based on feedback
      d594ce9f
  10. 09 1月, 2019 1 次提交
    • G
      Random GPIO cleaning (#138) · d4e7b67a
      Greg Ingram 提交于
      * Basic cleanup in GPIO files
      
      * Basic comment cleanup in GPIO files
      
      * Removed othing lingering words
      
      * Another round of GPIO cleaning
      
      * Removed a couple more words
      
      * Added readonly and updated casing
      
      * Better method grouping and synced constructor summaries
      d4e7b67a
  11. 03 12月, 2018 1 次提交
  12. 30 11月, 2018 1 次提交
  13. 29 11月, 2018 2 次提交
  14. 21 11月, 2018 1 次提交
  15. 14 11月, 2018 1 次提交
  16. 09 11月, 2018 1 次提交
  17. 02 11月, 2018 1 次提交
  18. 31 10月, 2018 1 次提交